Spaces:
Sleeping
Sleeping
Removing `NLLB_EXAMPLES`
Browse files
app.py
CHANGED
@@ -1,5 +1,5 @@
|
|
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,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",
|