Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -3,7 +3,7 @@ import random
|
|
| 3 |
|
| 4 |
def magic_chatbot(message, history):
|
| 5 |
magic_8 = ["Yes", "No", "Don't know"]
|
| 6 |
-
|
| 7 |
|
| 8 |
chatbot = gr.ChatInterface(magic_chatbot, type='messages')
|
| 9 |
chatbot.launch()
|
|
|
|
| 3 |
|
| 4 |
def magic_chatbot(message, history):
|
| 5 |
magic_8 = ["Yes", "No", "Don't know"]
|
| 6 |
+
return random.choices(magic_8)
|
| 7 |
|
| 8 |
chatbot = gr.ChatInterface(magic_chatbot, type='messages')
|
| 9 |
chatbot.launch()
|