Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -21,5 +21,5 @@ def echo(message, history):
|
|
| 21 |
def yes_no(message, history):
|
| 22 |
responses = ["Yes", "No"]
|
| 23 |
return random.choice(responses)
|
| 24 |
-
chatbot = gr.ChatInterface(respond, type
|
| 25 |
chatbot.launch()
|
|
|
|
| 21 |
def yes_no(message, history):
|
| 22 |
responses = ["Yes", "No"]
|
| 23 |
return random.choice(responses)
|
| 24 |
+
chatbot = gr.ChatInterface(respond, type="messages")
|
| 25 |
chatbot.launch()
|