Kleber commited on
Commit
4fb317f
1 Parent(s): 107e9f5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -36,7 +36,7 @@ def translate(model,text, src_lang, tgt_lang, max_length=400):
36
  gr.Interface(
37
  translate,
38
  [
39
- gr.components.Dropdown(label="choose a model",choices=MODELS)
40
  gr.components.Textbox(label="Text"),
41
  gr.components.Dropdown(label="Source Language", choices=LANGS),
42
  gr.components.Dropdown(label="Target Language", choices=LANGS),
@@ -46,7 +46,7 @@ gr.Interface(
46
  #examples=examples,
47
  # article=article,
48
  cache_examples=False,
49
- title="Finetuned-NLLB-1",
50
  #description=description
51
  ).launch()
52
 
 
36
  gr.Interface(
37
  translate,
38
  [
39
+ gr.components.Dropdown(label="choose a model",choices=MODELS),
40
  gr.components.Textbox(label="Text"),
41
  gr.components.Dropdown(label="Source Language", choices=LANGS),
42
  gr.components.Dropdown(label="Target Language", choices=LANGS),
 
46
  #examples=examples,
47
  # article=article,
48
  cache_examples=False,
49
+ title="Finetuned-NLLB",
50
  #description=description
51
  ).launch()
52