Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -5,6 +5,6 @@ def translation_gradio(input):
|
|
5 |
result = trans(input)
|
6 |
return result[0]['translation_text']
|
7 |
|
8 |
-
translation_interface = gr.Interface(fn = translation_gradio, inputs="text", outputs = "text",title="english-vietnamese translation", examples=["
|
9 |
|
10 |
translation_interface.launch(inline=False)
|
|
|
5 |
result = trans(input)
|
6 |
return result[0]['translation_text']
|
7 |
|
8 |
+
translation_interface = gr.Interface(fn = translation_gradio, inputs="text", outputs = "text",title="english-vietnamese translation", examples=["Hi my name is Hao"])
|
9 |
|
10 |
translation_interface.launch(inline=False)
|