Spaces:
Runtime error
Runtime error
Commit
•
376a452
1
Parent(s):
dc00cc0
update
Browse files
app.py
CHANGED
@@ -29,7 +29,7 @@ with gr.Blocks() as demo:
|
|
29 |
if LANG == "EN":
|
30 |
speaker = gr.Dropdown(en, interactive=True, value='EN-Default', label='Speaker')
|
31 |
else:
|
32 |
-
speaker = gr.Dropdown([LANG], interactive=True, value=
|
33 |
speed = gr.Slider(label='Speed', minimum=0.1, maximum=10.0, value=1.0, interactive=True, step=0.1)
|
34 |
text = gr.Textbox(label="Text to speak", value='The field of text to speech has seen rapid development recently')
|
35 |
btn = gr.Button('Synthesize', variant='primary')
|
|
|
29 |
if LANG == "EN":
|
30 |
speaker = gr.Dropdown(en, interactive=True, value='EN-Default', label='Speaker')
|
31 |
else:
|
32 |
+
speaker = gr.Dropdown([LANG], interactive=True, value=LANG, label='Speaker')
|
33 |
speed = gr.Slider(label='Speed', minimum=0.1, maximum=10.0, value=1.0, interactive=True, step=0.1)
|
34 |
text = gr.Textbox(label="Text to speak", value='The field of text to speech has seen rapid development recently')
|
35 |
btn = gr.Button('Synthesize', variant='primary')
|