Update app.py
Browse files
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()
|