Spaces:
Sleeping
Sleeping
Changed return to "Random_choice" No more echo
Browse files
app.py
CHANGED
|
@@ -4,7 +4,7 @@ import random
|
|
| 4 |
def echo(message, history):
|
| 5 |
choices = ["Mhm", "nah fam"]
|
| 6 |
random_choice = random.choice(choices)
|
| 7 |
-
return
|
| 8 |
|
| 9 |
chatbot = gr.ChatInterface(echo, type = "messages")
|
| 10 |
|
|
|
|
| 4 |
def echo(message, history):
|
| 5 |
choices = ["Mhm", "nah fam"]
|
| 6 |
random_choice = random.choice(choices)
|
| 7 |
+
return random_choice
|
| 8 |
|
| 9 |
chatbot = gr.ChatInterface(echo, type = "messages")
|
| 10 |
|