jlonsako commited on
Commit
160effa
1 Parent(s): a08d5e7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -339,7 +339,7 @@ with demo:
339
  microphone_button = gr.Button("Submit")
340
 
341
  file_button.click(Transcribe, inputs=file_input, outputs=file_output)
342
- microphone_button.click(Transcribe, inputs=microphone_input, outputs=microphone_output)
343
 
344
  # demo = gr.Interface(fn=Transcribe, inputs=[gr.File(label="Upload an audio file of Amharic content"), gr.Slider(0, 25, value=4, step=1, label="batch size", info="Approximately .5GB per batch")],
345
  # outputs=gr.File(label="Download .sbv transcription", file_count="multiple"),
 
339
  microphone_button = gr.Button("Submit")
340
 
341
  file_button.click(Transcribe, inputs=file_input, outputs=file_output)
342
+ microphone_button.click(TranscribeMic, inputs=microphone_input, outputs=microphone_output)
343
 
344
  # demo = gr.Interface(fn=Transcribe, inputs=[gr.File(label="Upload an audio file of Amharic content"), gr.Slider(0, 25, value=4, step=1, label="batch size", info="Approximately .5GB per batch")],
345
  # outputs=gr.File(label="Download .sbv transcription", file_count="multiple"),