geonmo.gu commited on
Commit
49c2192
1 Parent(s): c14e153

add default

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