Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -17,9 +17,9 @@ provide it and then gently inquire if they want to talk about it. If you don't k
|
|
17 |
politely inform them that you are tuned to only answer questions about mental health and well being."""
|
18 |
|
19 |
def respond(message, chat_history):
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
|
24 |
msg.submit(respond, [msg, chatbot], [msg, chatbot])
|
25 |
|
|
|
17 |
politely inform them that you are tuned to only answer questions about mental health and well being."""
|
18 |
|
19 |
def respond(message, chat_history):
|
20 |
+
bot_message = ["How are you?"]
|
21 |
+
chat_history.append((message, bot_message))
|
22 |
+
return "", chat_history
|
23 |
|
24 |
msg.submit(respond, [msg, chatbot], [msg, chatbot])
|
25 |
|