Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -83,16 +83,14 @@ with demo:
|
|
| 83 |
lines=1,
|
| 84 |
max_lines=1,
|
| 85 |
value="0",
|
| 86 |
-
placeholder="Speaker ID. Valid only for mult-speaker model"
|
| 87 |
-
)
|
| 88 |
input_speed = gr.Slider(
|
| 89 |
minimum=0.1,
|
| 90 |
maximum=10,
|
| 91 |
value=1,
|
| 92 |
step=0.1,
|
| 93 |
-
label="Speed (larger->faster; smaller->slower)",input_sid
|
| 94 |
-
|
| 95 |
-
text_to_speech(language_choices[0],language_to_models[language_choices[0]][0],txt,input_sid, input_speed)
|
| 96 |
output_audio[idx] = gr.Audio(label="Output")
|
| 97 |
output_info[idx] = gr.HTML(label="Info")
|
| 98 |
idx=idx+1
|
|
|
|
| 83 |
lines=1,
|
| 84 |
max_lines=1,
|
| 85 |
value="0",
|
| 86 |
+
placeholder="Speaker ID. Valid only for mult-speaker model")
|
|
|
|
| 87 |
input_speed = gr.Slider(
|
| 88 |
minimum=0.1,
|
| 89 |
maximum=10,
|
| 90 |
value=1,
|
| 91 |
step=0.1,
|
| 92 |
+
label="Speed (larger->faster; smaller->slower)",input_sid)
|
| 93 |
+
text_to_speech(language_choices[0],language_to_models[language_choices[0]][0],txt,input_sid,input_speed)
|
|
|
|
| 94 |
output_audio[idx] = gr.Audio(label="Output")
|
| 95 |
output_info[idx] = gr.HTML(label="Info")
|
| 96 |
idx=idx+1
|