Spaces:
Running
Running
Commit
•
af4cf59
1
Parent(s):
40c7865
Update app.py
Browse files
app.py
CHANGED
@@ -24,7 +24,7 @@ with gr.Blocks() as demo:
|
|
24 |
with gr.Row():
|
25 |
with gr.Column():
|
26 |
audio_in = gr.Audio(value="librispeech.wav", sources=["upload"], type="numpy")
|
27 |
-
chunk_length = gr.Slider(minimum=
|
28 |
run_button = gr.Button("Stream audio")
|
29 |
with gr.Column():
|
30 |
audio_out = gr.Audio(streaming=True, autoplay=True)
|
|
|
24 |
with gr.Row():
|
25 |
with gr.Column():
|
26 |
audio_in = gr.Audio(value="librispeech.wav", sources=["upload"], type="numpy")
|
27 |
+
chunk_length = gr.Slider(minimum=2, maximum=10, value=2, step=2, label="Chunk length (s)")
|
28 |
run_button = gr.Button("Stream audio")
|
29 |
with gr.Column():
|
30 |
audio_out = gr.Audio(streaming=True, autoplay=True)
|