Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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__":
|