Kleber commited on
Commit
aebd531
1 Parent(s): 7abb54c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -38,7 +38,7 @@ def translate(CKPT,text, src_lang, tgt_lang, max_length=400):
38
  gr.Interface(
39
  translate,
40
  [
41
- gr.components.Dropdown(label="choose a model",choices=MODELS)
42
  gr.components.Textbox(label="Text"),
43
  gr.components.Dropdown(label="Source Language", choices=LANGS),
44
  gr.components.Dropdown(label="Target Language", choices=LANGS),
 
38
  gr.Interface(
39
  translate,
40
  [
41
+ gr.components.Dropdown(label="choose a model",choices=MODELS),
42
  gr.components.Textbox(label="Text"),
43
  gr.components.Dropdown(label="Source Language", choices=LANGS),
44
  gr.components.Dropdown(label="Target Language", choices=LANGS),