Spaces:
Runtime error
Runtime error
Update chat.py
Browse files
chat.py
CHANGED
|
@@ -21,7 +21,9 @@ def chat_conversations(query,user_id):
|
|
| 21 |
global is_second ,use_extra
|
| 22 |
if is_second:
|
| 23 |
if 'no' in query:
|
| 24 |
-
query= """ "Okk no problem!
|
|
|
|
|
|
|
| 25 |
"""
|
| 26 |
|
| 27 |
save_message(query,user_id)
|
|
@@ -63,7 +65,7 @@ def chat_conversations(query,user_id):
|
|
| 63 |
if use_extra:
|
| 64 |
use_extra = False
|
| 65 |
is_second = False
|
| 66 |
-
return response+ "\n
|
| 67 |
return response
|
| 68 |
|
| 69 |
# output = deanonymizer(response, anonymizer)
|
|
|
|
| 21 |
global is_second ,use_extra
|
| 22 |
if is_second:
|
| 23 |
if 'no' in query:
|
| 24 |
+
query= """ "Okk no problem!
|
| 25 |
+
What's up today? Need ✨ Advice, ✨ a Mood Boost, ✨ a Chat, ✨ Resource Suggestions, ✨ App Features help? How can I help?"
|
| 26 |
+
|
| 27 |
"""
|
| 28 |
|
| 29 |
save_message(query,user_id)
|
|
|
|
| 65 |
if use_extra:
|
| 66 |
use_extra = False
|
| 67 |
is_second = False
|
| 68 |
+
return response+ "\n What's up today? Need ✨ Advice, ✨ a Mood Boost, ✨ a Chat, ✨ Resource Suggestions, ✨ App Features help? How can I help?"
|
| 69 |
return response
|
| 70 |
|
| 71 |
# output = deanonymizer(response, anonymizer)
|