Spaces:
Running
on
Zero
Running
on
Zero
Commit
·
f418560
1
Parent(s):
467cf00
allow lower
Browse files
app.py
CHANGED
@@ -338,7 +338,7 @@ with gr.Blocks(css=css) as block:
|
|
338 |
with gr.Column():
|
339 |
input_text = gr.Textbox(label="Input Text", lines=2, value=default_text, elem_id="input_text")
|
340 |
description = gr.Textbox(label="Description", lines=2, value="", elem_id="input_description")
|
341 |
-
play_seconds = gr.Slider(
|
342 |
run_button = gr.Button("Generate Audio", variant="primary")
|
343 |
with gr.Column():
|
344 |
audio_out = gr.Audio(label="Parler-TTS generation", type="numpy", elem_id="audio_out", streaming=True, autoplay=True)
|
|
|
338 |
with gr.Column():
|
339 |
input_text = gr.Textbox(label="Input Text", lines=2, value=default_text, elem_id="input_text")
|
340 |
description = gr.Textbox(label="Description", lines=2, value="", elem_id="input_description")
|
341 |
+
play_seconds = gr.Slider(0.5, 5.0, value=2.5, step=0.5, label="Streaming interval in seconds", info="Lower = shorter chunks, lower latency, more codec steps")
|
342 |
run_button = gr.Button("Generate Audio", variant="primary")
|
343 |
with gr.Column():
|
344 |
audio_out = gr.Audio(label="Parler-TTS generation", type="numpy", elem_id="audio_out", streaming=True, autoplay=True)
|