0x7o commited on
Commit
db12f76
1 Parent(s): f4f4284

Update app.py

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