Akariieieie commited on
Commit
5b470c7
·
verified ·
1 Parent(s): df46e21

Changes to make the src and tgt language much clear to the user

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -83,8 +83,8 @@ with gr.Blocks(theme=gr.themes.Base()) as demo:
83
  with gr.Column():
84
  audio_in = gr.Audio(label="Audio Input (File or Mic)", type="filepath")
85
  text_in = gr.Textbox(label="Text Input (Ignored if Audio is provided)", lines=3)
86
- src_lang = gr.Dropdown(choices=["English", "Tagalog", "Cebuano"], value="English", label="From")
87
- tgt_lang = gr.Dropdown(choices=["English", "Tagalog", "Cebuano"], value="Tagalog", label="To")
88
  submit_btn = gr.Button("Process Translation", variant="primary")
89
 
90
  with gr.Column():
 
83
  with gr.Column():
84
  audio_in = gr.Audio(label="Audio Input (File or Mic)", type="filepath")
85
  text_in = gr.Textbox(label="Text Input (Ignored if Audio is provided)", lines=3)
86
+ src_lang = gr.Dropdown(choices=["English", "Tagalog", "Cebuano"], value="None",placeholder="Select Source Language", label="From")
87
+ tgt_lang = gr.Dropdown(choices=["English", "Tagalog", "Cebuano"], value="None",placeholder="Select Source Language", label="To")
88
  submit_btn = gr.Button("Process Translation", variant="primary")
89
 
90
  with gr.Column():