Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -47,8 +47,8 @@ async def create_demo():
|
|
47 |
inputs=[
|
48 |
gr.Textbox(label="Input Text", lines=5),
|
49 |
gr.Dropdown(choices=[""] + list(voices.keys()), label="Select Voice", value=""),
|
50 |
-
gr.Slider(minimum=-50, maximum=50, value
|
51 |
-
gr.Slider(minimum=-20, maximum=20, value
|
52 |
],
|
53 |
outputs=[
|
54 |
gr.Audio(label="Generated Audio", type="filepath"),
|
|
|
47 |
inputs=[
|
48 |
gr.Textbox(label="Input Text", lines=5),
|
49 |
gr.Dropdown(choices=[""] + list(voices.keys()), label="Select Voice", value=""),
|
50 |
+
gr.Slider(minimum=-50, maximum=50, value=-10, label="Speech Rate Adjustment (%)", step=1),
|
51 |
+
gr.Slider(minimum=-20, maximum=20, value=-5, label="Pitch Adjustment (Hz)", step=1)
|
52 |
],
|
53 |
outputs=[
|
54 |
gr.Audio(label="Generated Audio", type="filepath"),
|