Spaces:
Running
Running
Tenzin Gyalpo
commited on
Commit
•
944c444
1
Parent(s):
0f7c002
Update app.py
Browse files
app.py
CHANGED
@@ -65,8 +65,8 @@ if __name__ == '__main__':
|
|
65 |
# define gradio demo
|
66 |
lang_codes = list(flores_codes.keys())
|
67 |
#inputs = [gr.inputs.Radio(['nllb-distilled-600M', 'nllb-1.3B', 'nllb-distilled-1.3B'], label='NLLB Model'),
|
68 |
-
inputs = [gr.Dropdown(label='Source', choices=lang_codes),
|
69 |
-
gr.Dropdown( label='Target', choices=lang_codes),
|
70 |
gr.Textbox(lines=5, label="Input text"),
|
71 |
]
|
72 |
|
|
|
65 |
# define gradio demo
|
66 |
lang_codes = list(flores_codes.keys())
|
67 |
#inputs = [gr.inputs.Radio(['nllb-distilled-600M', 'nllb-1.3B', 'nllb-distilled-1.3B'], label='NLLB Model'),
|
68 |
+
inputs = [gr.Dropdown(label='Source', choices=lang_codes, value='Standard Tibetan'),
|
69 |
+
gr.Dropdown( label='Target', choices=lang_codes, value='English'),
|
70 |
gr.Textbox(lines=5, label="Input text"),
|
71 |
]
|
72 |
|