haotieu commited on
Commit
4541c0d
1 Parent(s): f070bb8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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=["english : Hi my name is Hao"])
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)