csukuangfj commited on
Commit
7df0355
1 Parent(s): dd9221f

fix an error

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -241,7 +241,7 @@ with demo:
241
  )
242
  upload_button = gr.Button("Submit for recognition")
243
  uploaded_output = gr.Textbox(label="Recognized speech from uploaded file")
244
- uploaded_html_info = (gr.HTML(label="Info"),)
245
 
246
  with gr.TabItem("Record from microphone"):
247
  microphone = gr.Audio(
@@ -253,7 +253,7 @@ with demo:
253
 
254
  record_button = gr.Button("Submit for recognition")
255
  recorded_output = gr.Textbox(label="Recognized speech from recordings")
256
- recorded_html_info = (gr.HTML(label="Info"),)
257
 
258
  upload_button.click(
259
  process_uploaded_file,
 
241
  )
242
  upload_button = gr.Button("Submit for recognition")
243
  uploaded_output = gr.Textbox(label="Recognized speech from uploaded file")
244
+ uploaded_html_info = gr.HTML(label="Info")
245
 
246
  with gr.TabItem("Record from microphone"):
247
  microphone = gr.Audio(
 
253
 
254
  record_button = gr.Button("Submit for recognition")
255
  recorded_output = gr.Textbox(label="Recognized speech from recordings")
256
+ recorded_html_info = gr.HTML(label="Info")
257
 
258
  upload_button.click(
259
  process_uploaded_file,