Commit
•
d0626da
1
Parent(s):
83270d6
change of default target
Browse files
app.py
CHANGED
@@ -71,7 +71,7 @@ if __name__ == "__main__":
|
|
71 |
# inputs = [gr.inputs.Radio(['nllb-distilled-600M', 'nllb-1.3B', 'nllb-distilled-1.3B'], label='NLLB Model'),
|
72 |
inputs = [
|
73 |
gr.inputs.Dropdown(lang_codes, default="English", label="Source"),
|
74 |
-
gr.inputs.Dropdown(lang_codes, default="
|
75 |
gr.inputs.Textbox(lines=5, label="Input text"),
|
76 |
]
|
77 |
|
@@ -83,7 +83,7 @@ if __name__ == "__main__":
|
|
83 |
description = (
|
84 |
f"Details: https://github.com/facebookresearch/fairseq/tree/nllb. {demo_status}"
|
85 |
)
|
86 |
-
examples = [["English", "
|
87 |
|
88 |
gr.Interface(
|
89 |
translation,
|
|
|
71 |
# inputs = [gr.inputs.Radio(['nllb-distilled-600M', 'nllb-1.3B', 'nllb-distilled-1.3B'], label='NLLB Model'),
|
72 |
inputs = [
|
73 |
gr.inputs.Dropdown(lang_codes, default="English", label="Source"),
|
74 |
+
gr.inputs.Dropdown(lang_codes, default="Nepali", label="Target"),
|
75 |
gr.inputs.Textbox(lines=5, label="Input text"),
|
76 |
]
|
77 |
|
|
|
83 |
description = (
|
84 |
f"Details: https://github.com/facebookresearch/fairseq/tree/nllb. {demo_status}"
|
85 |
)
|
86 |
+
examples = [["English", "Nepali", "Hi. nice to meet you"]]
|
87 |
|
88 |
gr.Interface(
|
89 |
translation,
|