AlexK-PL commited on
Commit
d42b2ef
·
1 Parent(s): b10b66d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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.15, 0.4, label="First style token weight:"), gr.Slider(0.15, 0.4, label="Second style token weight:"), gr.Slider(0.15, 0.4, 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
 
 
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