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