Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -3,7 +3,7 @@ import random
|
|
| 3 |
|
| 4 |
def random_response(message, history):
|
| 5 |
response_options = ["yes", "no"]
|
| 6 |
-
|
| 7 |
|
| 8 |
chatbot = gr.ChatInterface(random_response)
|
| 9 |
|
|
|
|
| 3 |
|
| 4 |
def random_response(message, history):
|
| 5 |
response_options = ["yes", "no"]
|
| 6 |
+
return random.choice(response_options)
|
| 7 |
|
| 8 |
chatbot = gr.ChatInterface(random_response)
|
| 9 |
|