vsrinivas commited on
Commit
0fc43f2
·
verified ·
1 Parent(s): c6e6f19

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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=language_choices, 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")
 
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")