Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,7 +2,7 @@ import gradio as gr
|
|
| 2 |
import random
|
| 3 |
|
| 4 |
def random_message(message, history):
|
| 5 |
-
choices = ["yes", "no"]
|
| 6 |
chat_answer = random.choice(choices)
|
| 7 |
#use random to select ones of those choices
|
| 8 |
return chat_answer
|
|
|
|
| 2 |
import random
|
| 3 |
|
| 4 |
def random_message(message, history):
|
| 5 |
+
choices = ["yes", "no", "sure", "absolutely", "of course not", "by no means"]
|
| 6 |
chat_answer = random.choice(choices)
|
| 7 |
#use random to select ones of those choices
|
| 8 |
return chat_answer
|