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=["
|
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.25, 0.55, label="First style token weight:"), gr.Slider(0.25, 0.55, label="Second style token weight:"), gr.Slider(0.25, 0.55, label="Third style token weight:")], outputs=[gr.Audio(label="Generated Speech", type="numpy"),])
|
59 |
+
iface.launch(share=True)
|
60 |
|