Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -27,10 +27,10 @@ def respond(message, history):
|
|
| 27 |
response += token
|
| 28 |
yield response
|
| 29 |
|
| 30 |
-
def random_message(message, history):
|
| 31 |
-
choices = ["it is likely", "absolutely not", "try again", "without a doubt", "outlook good", "signs point to it", "very unlikely", "quite doubtful"]
|
| 32 |
-
chat_answer = random.choice(choices)
|
| 33 |
-
return chat_answer
|
| 34 |
|
| 35 |
chatbot = gr.ChatInterface(respond, type = "messages")
|
| 36 |
|
|
|
|
| 27 |
response += token
|
| 28 |
yield response
|
| 29 |
|
| 30 |
+
#def random_message(message, history):
|
| 31 |
+
#choices = ["it is likely", "absolutely not", "try again", "without a doubt", "outlook good", "signs point to it", "very unlikely", "quite doubtful"]
|
| 32 |
+
#chat_answer = random.choice(choices)
|
| 33 |
+
#return chat_answer
|
| 34 |
|
| 35 |
chatbot = gr.ChatInterface(respond, type = "messages")
|
| 36 |
|