sanchit-gandhi HF staff commited on
Commit
af4cf59
1 Parent(s): 40c7865

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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=1, maximum=3, value=2, step=1, label="Chunk length (s)")
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)