Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -55,6 +55,6 @@ def synthesize(text, gst_1, gst_2, gst_3):
|
|
55 |
return (22050, audio_numpy)
|
56 |
|
57 |
|
58 |
-
iface = gr.Interface(fn=synthesize, inputs=[gr.Textbox(label="Input Text"), gr.Slider(0.
|
59 |
iface.launch()
|
60 |
|
|
|
55 |
return (22050, audio_numpy)
|
56 |
|
57 |
|
58 |
+
iface = gr.Interface(fn=synthesize, inputs=[gr.Textbox(label="Input Text"), gr.Slider(0.2, 0.45, label="First style token weight:"), gr.Slider(0.2, 0.45, label="Second style token weight:"), gr.Slider(0.2, 0.45, label="Third style token weight:")], outputs=[gr.Audio(label="Generated Speech", type="numpy"),], title="Single-Head Attention Tacotron2 with Style Tokens", description=DESCRIPTION)
|
59 |
iface.launch()
|
60 |
|