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