tangchao5355 commited on
Commit
e332bb4
·
verified ·
1 Parent(s): 1db4eab

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -4
app.py CHANGED
@@ -223,10 +223,12 @@ with gr.Blocks(theme=gr.themes.Soft(), css=config.UI["warning_css"]) as app:
223
  )
224
 
225
  audio_input = gr.Audio(
226
- sources=["microphone"],
227
- type="filepath",
228
- label="🎤 语音输入",
229
- visible=bool(asr_pipeline)
 
 
230
 
231
  with gr.Accordion("⚙️ 高级参数", open=False):
232
  style_select = gr.Dropdown(
 
223
  )
224
 
225
  audio_input = gr.Audio(
226
+ sources=["microphone"],
227
+ type="filepath",
228
+ label="🎤 语音输入",
229
+ visible=bool(asr_pipeline)
230
+ )
231
+
232
 
233
  with gr.Accordion("⚙️ 高级参数", open=False):
234
  style_select = gr.Dropdown(