Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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="
|
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)
|