NeerAbhy commited on
Commit
ad6fb76
1 Parent(s): 017bea7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -146,8 +146,8 @@ with demo:
146
  text0 = gr.Textbox()
147
  text = gr.Textbox()
148
  text2 = gr.Textbox()
149
- source_lang = gr.Dropdown(label="Source lang", choices=list(lang_id.keys()))
150
- target_lang = gr.Dropdown(label="target lang", choices=list(lang_id.keys()))
151
 
152
  #gr.Examples(examples = list(lang_id.keys()),
153
  # inputs=[
 
146
  text0 = gr.Textbox()
147
  text = gr.Textbox()
148
  text2 = gr.Textbox()
149
+ source_lang = gr.Dropdown(label="Source lang", choices=list(lang_id.keys()), value=list(lang_id.keys())[0])
150
+ target_lang = gr.Dropdown(label="target lang", choices=list(lang_id.keys()), value=list(lang_id.keys())[0])
151
 
152
  #gr.Examples(examples = list(lang_id.keys()),
153
  # inputs=[