Spaces:
Sleeping
Sleeping
Updated
Browse filesHere we deleted some models and change the title of the page.
app.py
CHANGED
@@ -8,7 +8,7 @@ nllb_translate = gr.Interface(
|
|
8 |
fn=translation,
|
9 |
inputs=[
|
10 |
gr.Dropdown(
|
11 |
-
["nllb-
|
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="
|
24 |
),
|
25 |
gr.Textbox(lines=5, label="Input text"),
|
26 |
],
|
27 |
outputs="json",
|
28 |
examples=NLLB_EXAMPLES,
|
29 |
-
title="
|
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 |
)
|