dcolish commited on
Commit
eca67ef
·
1 Parent(s): 47236f5

Update app.py

Browse files

Fix Select renaming to Dropdown

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,7 +9,7 @@ def tts_interface(input_text, voice):
9
 
10
  iface = gr.Interface(
11
  fn=tts_interface,
12
- inputs=[gr.inputs.Textbox(lines=5), gr.inputs.Select(choices=[(k, v) for k, v in tts_langs.items()])],
13
  outputs=gr.outputs.Audio(type="filepath"),
14
  title="Text-to-Speech Converter",
15
  description="Enter a text and get its spoken version as an MP3 file."
 
9
 
10
  iface = gr.Interface(
11
  fn=tts_interface,
12
+ inputs=[gr.inputs.Textbox(lines=5), gr.inputs.Dropdown(choices=[(k, v) for k, v in tts_langs.items()])],
13
  outputs=gr.outputs.Audio(type="filepath"),
14
  title="Text-to-Speech Converter",
15
  description="Enter a text and get its spoken version as an MP3 file."