Tenzin Gyalpo commited on
Commit
22cbbdf
1 Parent(s): 5abe89e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -63,8 +63,8 @@ if __name__ == '__main__':
63
  # define gradio demo
64
  lang_codes = list(flores_codes.keys())
65
  #inputs = [gr.inputs.Radio(['nllb-distilled-600M', 'nllb-1.3B', 'nllb-distilled-1.3B'], label='NLLB Model'),
66
- inputs = [gr.Dropdown(lang_codes, default='Standard Tibetan', label='Source'),
67
- gr.Dropdown(lang_codes, default='English', label='Target'),
68
  gr.Textbox(lines=5, label="Input text"),
69
  ]
70
 
 
63
  # define gradio demo
64
  lang_codes = list(flores_codes.keys())
65
  #inputs = [gr.inputs.Radio(['nllb-distilled-600M', 'nllb-1.3B', 'nllb-distilled-1.3B'], label='NLLB Model'),
66
+ inputs = [gr.Dropdown(label='Source', choices=lang_codes),
67
+ gr.Dropdown( label='Target', choices=lang_codes),
68
  gr.Textbox(lines=5, label="Input text"),
69
  ]
70