Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -5,7 +5,7 @@ def echo(message, history):
|
|
| 5 |
choices = ["yes", "no"]
|
| 6 |
#use random to select one of these choices
|
| 7 |
random_message = random.choice(choices)
|
| 8 |
-
|
| 9 |
|
| 10 |
chatbot = gr.ChatInterface(echo, type = "messages")
|
| 11 |
|
|
|
|
| 5 |
choices = ["yes", "no"]
|
| 6 |
#use random to select one of these choices
|
| 7 |
random_message = random.choice(choices)
|
| 8 |
+
return random_message
|
| 9 |
|
| 10 |
chatbot = gr.ChatInterface(echo, type = "messages")
|
| 11 |
|