Update Modules/Generate_Speech.py
Browse files
Modules/Generate_Speech.py
CHANGED
|
@@ -660,9 +660,9 @@ def build_interface() -> gr.Interface:
|
|
| 660 |
value="F1",
|
| 661 |
info="Select voice (F1/F2/M1/M2 for Supertonic, others for Kokoro)",
|
| 662 |
),
|
| 663 |
-
gr.Slider(minimum=1, maximum=50, value=5, step=1, label="Steps
|
| 664 |
-
gr.Slider(minimum=0.0, maximum=2.0, value=0.3, step=0.1, label="Silence Duration
|
| 665 |
-
gr.Slider(minimum=50, maximum=1000, value=300, step=10, label="Max Chunk Size
|
| 666 |
],
|
| 667 |
outputs=gr.Audio(label="Audio", type="filepath", format="wav"),
|
| 668 |
title="Generate Speech",
|
|
|
|
| 660 |
value="F1",
|
| 661 |
info="Select voice (F1/F2/M1/M2 for Supertonic, others for Kokoro)",
|
| 662 |
),
|
| 663 |
+
gr.Slider(minimum=1, maximum=50, value=5, step=1, label="Steps", info="Supertonic only"),
|
| 664 |
+
gr.Slider(minimum=0.0, maximum=2.0, value=0.3, step=0.1, label="Silence Duration", info="Supertonic only"),
|
| 665 |
+
gr.Slider(minimum=50, maximum=1000, value=300, step=10, label="Max Chunk Size", info="Supertonic only"),
|
| 666 |
],
|
| 667 |
outputs=gr.Audio(label="Audio", type="filepath", format="wav"),
|
| 668 |
title="Generate Speech",
|