AlexK-PL commited on
Commit
34f1861
·
1 Parent(s): 6a0c3cb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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=["text", gr.Slider(0.25, 0.55), gr.Slider(0.25, 0.55), gr.Slider(0.25, 0.55)], outputs=[gr.Audio(label="Generated Speech", type="numpy"),])
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