Update app.py
Browse files
app.py
CHANGED
@@ -27,5 +27,5 @@ def synthesize(key, sentence, speaker):
|
|
27 |
|
28 |
iface = gr.Interface(fn=synthesize, inputs=[gr.Textbox(type="password", info="This is where you put your Rime TTS API key."),
|
29 |
gr.Textbox(info="Enter the text you want synthesized here. Check out our documentation for specifics and suggestions on text input!"),
|
30 |
-
gr.
|
31 |
iface.launch()
|
|
|
27 |
|
28 |
iface = gr.Interface(fn=synthesize, inputs=[gr.Textbox(type="password", info="This is where you put your Rime TTS API key."),
|
29 |
gr.Textbox(info="Enter the text you want synthesized here. Check out our documentation for specifics and suggestions on text input!"),
|
30 |
+
gr.Dropdown(list(speakers), info="Enter the code for the speaker you want to synthesize. (see docs/voices/)")], outputs=gr.Audio())
|
31 |
iface.launch()
|