Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -16,7 +16,7 @@ with gr.Blocks() as demo:
|
|
16 |
state = gr.State(value="")
|
17 |
with gr.Row():
|
18 |
with gr.Column():
|
19 |
-
audio = gr.Audio(sources="microphone", type="filepath"
|
20 |
with gr.Column():
|
21 |
textbox = gr.Textbox()
|
22 |
audio.stream(fn=transcribe, inputs=[audio, state], outputs=[textbox, state])
|
|
|
16 |
state = gr.State(value="")
|
17 |
with gr.Row():
|
18 |
with gr.Column():
|
19 |
+
audio = gr.Audio(sources="microphone", type="filepath")
|
20 |
with gr.Column():
|
21 |
textbox = gr.Textbox()
|
22 |
audio.stream(fn=transcribe, inputs=[audio, state], outputs=[textbox, state])
|