hivecorp commited on
Commit
c101562
·
verified ·
1 Parent(s): 72b88f0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -481,7 +481,7 @@ with gr.Blocks(title="Writoo AI V2") as demo:
481
  with gr.Column():
482
  output_audio = gr.Audio(type="filepath", label="Audio Output")
483
 
484
- language.change(get_speakers, inputs=[language], outputs=[speaker])
485
  run_btn.click(text_to_speech_edge, inputs=[input_text, language, speaker, tashkeel_checkbox], outputs=[output_audio])
486
 
487
  if __name__ == "__main__":
 
481
  with gr.Column():
482
  output_audio = gr.Audio(type="filepath", label="Audio Output")
483
 
484
+ language.change(get_speakers, inputs=[language], outputs=[speaker, tashkeel_checkbox]])
485
  run_btn.click(text_to_speech_edge, inputs=[input_text, language, speaker, tashkeel_checkbox], outputs=[output_audio])
486
 
487
  if __name__ == "__main__":