Nick088 commited on
Commit
038f52f
1 Parent(s): df5b239

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -248,13 +248,13 @@ async def text_to_speech_edge(text, language_code):
248
  input_text = gr.Textbox(lines=5, label="Input Text")
249
  output_text = gr.Textbox(label="Output Text")
250
  output_audio = gr.Audio(type="filepath", label="Exported Audio")
251
- language = gr.Dropdown(choices=list(language_dict.keys()), label="Language")
252
 
253
  interface = gr.Interface(
254
  fn=text_to_speech_edge,
255
  inputs=[input_text, language],
256
  outputs=[output_text, output_audio],
257
- title="Edge TTS Text-to-Speech"
258
  )
259
 
260
  if __name__ == "__main__":
 
248
  input_text = gr.Textbox(lines=5, label="Input Text")
249
  output_text = gr.Textbox(label="Output Text")
250
  output_audio = gr.Audio(type="filepath", label="Exported Audio")
251
+ language = gr.Dropdown(choices=list(language_dict.keys()), label="Choose the Voice Model")
252
 
253
  interface = gr.Interface(
254
  fn=text_to_speech_edge,
255
  inputs=[input_text, language],
256
  outputs=[output_text, output_audio],
257
+ title="Edge TTS"
258
  )
259
 
260
  if __name__ == "__main__":