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