rime commited on
Commit
1c5c95e
·
1 Parent(s): c1eba70

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -20,5 +20,5 @@ def synthesize(key, sentence, speaker):
20
  fp.write(decode_string)
21
  return 'tmp.wav'
22
 
23
- iface = gr.Interface(fn=synthesize, inputs=["text", "text","text"], 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("text",type="password", info="This is where you put your Rime TTS API key."), "text","text"], outputs=gr.Audio())
24
  iface.launch()