Update app.py
Browse files
app.py
CHANGED
|
@@ -426,7 +426,7 @@ def create_participant_row(i, language_choices):
|
|
| 426 |
"""Creates the UI for a single participant."""
|
| 427 |
with gr.Row():
|
| 428 |
video_input = gr.Video(label=f"Participant {i+1} Video", interactive=True)
|
| 429 |
-
language_dropdown = gr.Dropdown(choices=
|
| 430 |
transcript_output = gr.Textbox(label=f"Participant {i+1} Transcript")
|
| 431 |
translated_text = gr.Textbox(label="Speaker's Translated Text")
|
| 432 |
dubbed_video = gr.Video(label="Speaker's Dubbed Video")
|
|
|
|
| 426 |
"""Creates the UI for a single participant."""
|
| 427 |
with gr.Row():
|
| 428 |
video_input = gr.Video(label=f"Participant {i+1} Video", interactive=True)
|
| 429 |
+
language_dropdown = gr.Dropdown(choices=language_codes.keys(), label=f"Participant {i+1} Language", value=language_choices[i])
|
| 430 |
transcript_output = gr.Textbox(label=f"Participant {i+1} Transcript")
|
| 431 |
translated_text = gr.Textbox(label="Speaker's Translated Text")
|
| 432 |
dubbed_video = gr.Video(label="Speaker's Dubbed Video")
|