Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -60,8 +60,8 @@ if __name__ == '__main__':
|
|
60 |
# define gradio demo
|
61 |
lang_codes = list(flores_codes.keys())
|
62 |
#inputs = [gr.inputs.Radio(['nllb-distilled-600M', 'nllb-1.3B', 'nllb-distilled-1.3B'], label='NLLB Model'),
|
63 |
-
inputs = [gr.Dropdown(lang_codes,
|
64 |
-
gr.Dropdown(lang_codes,
|
65 |
gr.Textbox(lines=5, label="Input text"),
|
66 |
]
|
67 |
|
|
|
60 |
# define gradio demo
|
61 |
lang_codes = list(flores_codes.keys())
|
62 |
#inputs = [gr.inputs.Radio(['nllb-distilled-600M', 'nllb-1.3B', 'nllb-distilled-1.3B'], label='NLLB Model'),
|
63 |
+
inputs = [gr.Dropdown(lang_codes, value='English', label='Source'),
|
64 |
+
gr.Dropdown(lang_codes, value='Korean', label='Target'),
|
65 |
gr.Textbox(lines=5, label="Input text"),
|
66 |
]
|
67 |
|