Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -63,7 +63,7 @@ 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.inputs.Dropdown(lang_codes, default='Chinese
|
67 |
gr.inputs.Dropdown(lang_codes, default='English', label='Target'),
|
68 |
gr.inputs.Textbox(lines=5, label="Input text"),
|
69 |
]
|
|
|
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.inputs.Dropdown(lang_codes, default='Yue Chinese', label='Source'),
|
67 |
gr.inputs.Dropdown(lang_codes, default='English', label='Target'),
|
68 |
gr.inputs.Textbox(lines=5, label="Input text"),
|
69 |
]
|