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