Al04ni commited on
Commit
cb4c0ee
·
verified ·
1 Parent(s): 1503d44

Here we deleted some models and change the title of the page.

Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -8,7 +8,7 @@ nllb_translate = gr.Interface(
8
  fn=translation,
9
  inputs=[
10
  gr.Dropdown(
11
- ["nllb-1.3B", "nllb-distilled-1.3B", "nllb-3.3B"],
12
  label="Model",
13
  value="nllb-distilled-1.3B",
14
  ),
@@ -20,13 +20,13 @@ nllb_translate = gr.Interface(
20
  gr.Dropdown(
21
  lang_codes,
22
  label="Target language",
23
- value="Shan",
24
  ),
25
  gr.Textbox(lines=5, label="Input text"),
26
  ],
27
  outputs="json",
28
  examples=NLLB_EXAMPLES,
29
- title="NLLB Translation Demo",
30
  description="Translate text from one language to another.",
31
  allow_flagging="never",
32
  )
 
8
  fn=translation,
9
  inputs=[
10
  gr.Dropdown(
11
+ ["nllb-distilled-1.3B"],
12
  label="Model",
13
  value="nllb-distilled-1.3B",
14
  ),
 
20
  gr.Dropdown(
21
  lang_codes,
22
  label="Target language",
23
+ value="Kinyarwanda",
24
  ),
25
  gr.Textbox(lines=5, label="Input text"),
26
  ],
27
  outputs="json",
28
  examples=NLLB_EXAMPLES,
29
+ title="Translation Demo using NLLB Model",
30
  description="Translate text from one language to another.",
31
  allow_flagging="never",
32
  )