Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -25,7 +25,7 @@ def translation(source, target, text):
|
|
25 |
return response.partition(eos_string)[0]
|
26 |
|
27 |
inputs = [gr.inputs.Dropdown(['English','Vietnamese'], default='English', label='Source'),
|
28 |
-
gr.inputs.Dropdown(['English','Vietnamese']
|
29 |
gr.inputs.Textbox(lines=5, label="Input text"),
|
30 |
]
|
31 |
|
|
|
25 |
return response.partition(eos_string)[0]
|
26 |
|
27 |
inputs = [gr.inputs.Dropdown(['English','Vietnamese'], default='English', label='Source'),
|
28 |
+
gr.inputs.Dropdown(['English','Vietnamese'], default='Vietnamese', label='Target'),
|
29 |
gr.inputs.Textbox(lines=5, label="Input text"),
|
30 |
]
|
31 |
|