rime commited on
Commit
acab20d
·
1 Parent(s): fe4dbe9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -20,5 +20,7 @@ def synthesize(key, sentence, speaker):
20
  fp.write(decode_string)
21
  return 'tmp.wav'
22
 
23
- iface = gr.Interface(fn=synthesize, inputs=[gr.Textbox(type="password", info="This is where you put your Rime TTS API key."), gr.Textbox(info="Enter the sentence you want synthesized here. Read our documentation for specifics and suggestions on text input.")], outputs=gr.Audio())
 
 
24
  iface.launch()
 
20
  fp.write(decode_string)
21
  return 'tmp.wav'
22
 
23
+ iface = gr.Interface(fn=synthesize, inputs=[gr.Textbox(type="password", info="This is where you put your Rime TTS API key."),
24
+ gr.Textbox(info="Enter the sentence you want synthesized here. Read our documentation for specifics and suggestions on text input."),
25
+ gr.Textbox(info="Enter speaker code here.")], outputs=gr.Audio())
26
  iface.launch()