Hriata commited on
Commit
71eddcb
1 Parent(s): 0076f53

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -57,7 +57,7 @@ if __name__ == '__main__':
57
  lang_codes = list(flores_codes.keys())
58
  #inputs = [gr.inputs.Radio(['nllb-distilled-600M', 'nllb-1.3B', 'nllb-distilled-1.3B'], label='NLLB Model'),
59
  inputs = [gr.inputs.Dropdown(lang_codes, default='English', label='Source'),
60
- gr.inputs.Dropdown(lang_codes, default='Korean', label='Target'),
61
  gr.inputs.Textbox(lines=5, label="Input text"),
62
  ]
63
 
@@ -68,7 +68,7 @@ if __name__ == '__main__':
68
  demo_status = "Demo is running on CPU"
69
  description = f"Details: https://github.com/facebookresearch/fairseq/tree/nllb. {demo_status}"
70
  examples = [
71
- ['English', 'Korean', 'Hi. nice to meet you']
72
  ]
73
 
74
  gr.Interface(translation,
 
57
  lang_codes = list(flores_codes.keys())
58
  #inputs = [gr.inputs.Radio(['nllb-distilled-600M', 'nllb-1.3B', 'nllb-distilled-1.3B'], label='NLLB Model'),
59
  inputs = [gr.inputs.Dropdown(lang_codes, default='English', label='Source'),
60
+ gr.inputs.Dropdown(lang_codes, default='mizo', label='Target'),
61
  gr.inputs.Textbox(lines=5, label="Input text"),
62
  ]
63
 
 
68
  demo_status = "Demo is running on CPU"
69
  description = f"Details: https://github.com/facebookresearch/fairseq/tree/nllb. {demo_status}"
70
  examples = [
71
+ ['English', 'mizo', 'Hi. nice to meet you']
72
  ]
73
 
74
  gr.Interface(translation,