devilent2 commited on
Commit
3348f02
1 Parent(s): e07f7f3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -3
app.py CHANGED
@@ -193,7 +193,7 @@ demo = gr.Blocks()
193
 
194
 
195
  with demo:
196
- gr.TabbedInterface(
197
  [
198
  mf_transcribe,
199
  gr.Interface(
@@ -219,8 +219,10 @@ with demo:
219
  # Load the initial status using update_status function
220
  demo.load(update_status, inputs=None, outputs=[sys_status_output], every=2, queue=False)
221
 
222
- graudio.stop_recording(handle_upload_audio,inputs=[graudio,grmodel_textbox,groutputs[0]],outputs=groutputs)
223
- graudio.upload(handle_upload_audio,inputs=[graudio,grmodel_textbox,groutputs[0]],outputs=groutputs)
 
 
224
 
225
 
226
 
 
193
 
194
 
195
  with demo:
196
+ tabbed_interface = gr.TabbedInterface(
197
  [
198
  mf_transcribe,
199
  gr.Interface(
 
219
  # Load the initial status using update_status function
220
  demo.load(update_status, inputs=None, outputs=[sys_status_output], every=2, queue=False)
221
 
222
+ graudio.stop_recording(handle_upload_audio, inputs=[graudio, grmodel_textbox, groutputs[0]], outputs=groutputs)
223
+ graudio.upload(handle_upload_audio, inputs=[graudio, grmodel_textbox, groutputs[0]], outputs=groutputs)
224
+
225
+
226
 
227
 
228