rime commited on
Commit
a212e85
1 Parent(s): 3f2ac30

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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.Textbox(info="Enter the code for the speaker you want to synthesize. (see docs/voices/)")], outputs=gr.Audio())
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()