anzorq commited on
Commit
dbc9269
·
verified ·
1 Parent(s): 9485209

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -70,7 +70,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
70
 
71
  with gr.Tab("Microphone Input"):
72
  gr.Markdown("## Transcribe speech from microphone")
73
- mic_audio = gr.Audio(source='microphone', streaming=True)
74
  transcription_output = gr.Textbox(label="Transcription", lines=10)
75
 
76
  mic_audio.stream(fn=transcribe_speech, inputs=[gr.State(), mic_audio], outputs=[gr.State(), transcription_output])
 
70
 
71
  with gr.Tab("Microphone Input"):
72
  gr.Markdown("## Transcribe speech from microphone")
73
+ mic_audio = gr.Audio(sources='microphone', streaming=True)
74
  transcription_output = gr.Textbox(label="Transcription", lines=10)
75
 
76
  mic_audio.stream(fn=transcribe_speech, inputs=[gr.State(), mic_audio], outputs=[gr.State(), transcription_output])