Spaces:
Sleeping
Sleeping
debugged yes_or_no()
Browse files
app.py
CHANGED
|
@@ -6,5 +6,5 @@ answers = ["yes", "no"]
|
|
| 6 |
def yes_or_no(message,history):
|
| 7 |
return random.answers
|
| 8 |
|
| 9 |
-
chatbot = gr.ChatInterface(
|
| 10 |
chatbot.launch()
|
|
|
|
| 6 |
def yes_or_no(message,history):
|
| 7 |
return random.answers
|
| 8 |
|
| 9 |
+
chatbot = gr.ChatInterface(yes_or_no, type='messages')
|
| 10 |
chatbot.launch()
|