Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,5 +2,5 @@ import gradio as gr
|
|
| 2 |
|
| 3 |
def echo(message, history):
|
| 4 |
return message
|
| 5 |
-
chatbot = gr.ChatInterface(echo)
|
| 6 |
chatbot.launch()
|
|
|
|
| 2 |
|
| 3 |
def echo(message, history):
|
| 4 |
return message
|
| 5 |
+
chatbot = gr.ChatInterface(echo, type = "messages")
|
| 6 |
chatbot.launch()
|