dffdfdreter commited on
Commit
2183a67
·
verified ·
1 Parent(s): a3d338e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,5 +5,5 @@ def viet(message, history):
5
  message =client.translation(message).translation_text
6
  return message
7
  with gr.Blocks(theme=gr.themes.Soft)as app:
8
- gr.ChatInterface(fn=viet, type="message")
9
  app.launch(debug=True,share= True)
 
5
  message =client.translation(message).translation_text
6
  return message
7
  with gr.Blocks(theme=gr.themes.Soft)as app:
8
+ gr.ChatInterface(fn=viet, type="messages")
9
  app.launch(debug=True,share= True)