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