Spaces:
Sleeping
Sleeping
set type as = messages
Browse files
app.py
CHANGED
|
@@ -8,7 +8,7 @@ def echo(message, history):
|
|
| 8 |
|
| 9 |
#defining my chatbot so that the user can inteact and see their conversation...
|
| 10 |
#history and send new messages
|
| 11 |
-
chatbot = gr.ChatInterface(echo)
|
| 12 |
|
| 13 |
#we are launching our chatbot
|
| 14 |
chatbot.launch()
|
|
|
|
| 8 |
|
| 9 |
#defining my chatbot so that the user can inteact and see their conversation...
|
| 10 |
#history and send new messages
|
| 11 |
+
chatbot = gr.ChatInterface(echo, type="messages")
|
| 12 |
|
| 13 |
#we are launching our chatbot
|
| 14 |
chatbot.launch()
|