csukuangfj commited on
Commit
c926790
·
1 Parent(s): 1babe34

small fixes

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -223,7 +223,7 @@ with demo:
223
  model_dropdown,
224
  uploaded_file,
225
  ],
226
- outputs=["dataframe", uploaded_html_info],
227
  fn=process_uploaded_file,
228
  )
229
 
@@ -243,7 +243,7 @@ with demo:
243
  model_dropdown,
244
  microphone,
245
  ],
246
- outputs=["dataframe", recorded_html_info],
247
  fn=process_microphone,
248
  )
249
 
@@ -264,7 +264,7 @@ with demo:
264
  model_dropdown,
265
  uploaded_file,
266
  ],
267
- outputs=["dataframe", uploaded_html_info],
268
  )
269
 
270
  record_button.click(
@@ -273,7 +273,7 @@ with demo:
273
  model_dropdown,
274
  microphone,
275
  ],
276
- outputs=["dataframe", recorded_html_info],
277
  )
278
 
279
  url_button.click(
@@ -282,7 +282,7 @@ with demo:
282
  model_dropdown,
283
  url_textbox,
284
  ],
285
- outputs=["dataframe", url_html_info],
286
  )
287
 
288
  gr.Markdown(description)
 
223
  model_dropdown,
224
  uploaded_file,
225
  ],
226
+ outputs=[gr.Dataframe(), uploaded_html_info],
227
  fn=process_uploaded_file,
228
  )
229
 
 
243
  model_dropdown,
244
  microphone,
245
  ],
246
+ outputs=[gr.Dataframe(), recorded_html_info],
247
  fn=process_microphone,
248
  )
249
 
 
264
  model_dropdown,
265
  uploaded_file,
266
  ],
267
+ outputs=[gr.Dataframe(), uploaded_html_info],
268
  )
269
 
270
  record_button.click(
 
273
  model_dropdown,
274
  microphone,
275
  ],
276
+ outputs=[gr.Dataframe(), recorded_html_info],
277
  )
278
 
279
  url_button.click(
 
282
  model_dropdown,
283
  url_textbox,
284
  ],
285
+ outputs=[gr.Dataframe(), url_html_info],
286
  )
287
 
288
  gr.Markdown(description)