Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -117,7 +117,7 @@ with gr.Blocks() as microphone:
|
|
117 |
with gr.Row():
|
118 |
clear_button = gr.Button("Clear Output")
|
119 |
state = gr.State()
|
120 |
-
input_audio_microphone.stream(stream_transcribe, [state, input_audio_microphone], [state, output, latency_textbox], time_limit=30, stream_every=
|
121 |
clear_button.click(clear_state, outputs=[state]).then(clear, outputs=[output])
|
122 |
|
123 |
with gr.Blocks() as file:
|
|
|
117 |
with gr.Row():
|
118 |
clear_button = gr.Button("Clear Output")
|
119 |
state = gr.State()
|
120 |
+
input_audio_microphone.stream(stream_transcribe, [state, input_audio_microphone], [state, output, latency_textbox], time_limit=30, stream_every=2, concurrency_limit=None)
|
121 |
clear_button.click(clear_state, outputs=[state]).then(clear, outputs=[output])
|
122 |
|
123 |
with gr.Blocks() as file:
|