Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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(
|
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"),
|