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=[gr.Textbox(
|
| 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."), 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()
|