Al04ni commited on
Commit
cc7c9bb
·
verified ·
1 Parent(s): 1e6330e

Removing `NLLB_EXAMPLES`

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -1,5 +1,5 @@
1
  import gradio as gr
2
- from nllb import translation, NLLB_EXAMPLES
3
  from flores200_codes import flores_codes
4
 
5
  lang_codes = list(flores_codes.keys())
@@ -25,7 +25,6 @@ nllb_translate = gr.Interface(
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",
 
1
  import gradio as gr
2
+ from nllb import translation
3
  from flores200_codes import flores_codes
4
 
5
  lang_codes = list(flores_codes.keys())
 
25
  gr.Textbox(lines=5, label="Input text"),
26
  ],
27
  outputs="json",
 
28
  title="Translation Demo using NLLB Model",
29
  description="Translate text from one language to another.",
30
  allow_flagging="never",