Alibrown commited on
Commit
87acfc8
·
verified ·
1 Parent(s): 3dbd88a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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=0, label="Speech Rate Adjustment (%)", step=1),
51
- gr.Slider(minimum=-20, maximum=20, value=0, label="Pitch Adjustment (Hz)", step=1)
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"),