Update app.py
Browse files
app.py
CHANGED
|
@@ -406,7 +406,7 @@ with gr.Blocks(title="Audio/Video Translation Toolkit") as app_interface:
|
|
| 406 |
gender_radio_tran = gr.Radio(choices=["Male", "Female"], label="Speaker Gender", value="Male")
|
| 407 |
pace_radio_tran = gr.Radio(choices=["Very_Slow", "Slow", "Normal", "Fast", "Very_Fast"], label="Target Language", value="Normal")
|
| 408 |
btn_synth = gr.Button("Synthesize", variant="secondary")
|
| 409 |
-
btn_synth.click(fn=synthesize_speech, inputs=[text_in_synth,lang_radio_tran,
|
| 410 |
|
| 411 |
with gr.Tab("⏱️ Sync Duration"):
|
| 412 |
with gr.Row():
|
|
|
|
| 406 |
gender_radio_tran = gr.Radio(choices=["Male", "Female"], label="Speaker Gender", value="Male")
|
| 407 |
pace_radio_tran = gr.Radio(choices=["Very_Slow", "Slow", "Normal", "Fast", "Very_Fast"], label="Target Language", value="Normal")
|
| 408 |
btn_synth = gr.Button("Synthesize", variant="secondary")
|
| 409 |
+
btn_synth.click(fn=synthesize_speech, inputs=[text_in_synth,lang_radio_tran,pace_radio_tran], outputs=audio_out_synth)
|
| 410 |
|
| 411 |
with gr.Tab("⏱️ Sync Duration"):
|
| 412 |
with gr.Row():
|