Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -38,7 +38,7 @@ def translate(CKPT,text, src_lang, tgt_lang, max_length=400):
|
|
38 |
gr.Interface(
|
39 |
translate,
|
40 |
[
|
41 |
-
gr.components.Dropdown(label="choose a model",choices=MODELS)
|
42 |
gr.components.Textbox(label="Text"),
|
43 |
gr.components.Dropdown(label="Source Language", choices=LANGS),
|
44 |
gr.components.Dropdown(label="Target Language", choices=LANGS),
|
|
|
38 |
gr.Interface(
|
39 |
translate,
|
40 |
[
|
41 |
+
gr.components.Dropdown(label="choose a model",choices=MODELS),
|
42 |
gr.components.Textbox(label="Text"),
|
43 |
gr.components.Dropdown(label="Source Language", choices=LANGS),
|
44 |
gr.components.Dropdown(label="Target Language", choices=LANGS),
|