Update app.py
Browse files
app.py
CHANGED
@@ -32,8 +32,12 @@ def chat_message(ques, ans):
|
|
32 |
chat = {
|
33 |
"user": ques,
|
34 |
"bot": ans
|
|
|
|
|
|
|
|
|
35 |
}
|
36 |
-
usrcol.
|
37 |
|
38 |
#Creating reminders from the described goal
|
39 |
def create_rem(ans):
|
|
|
32 |
chat = {
|
33 |
"user": ques,
|
34 |
"bot": ans
|
35 |
+
},
|
36 |
+
{
|
37 |
+
"test": "ques",
|
38 |
+
"bot": "ans"
|
39 |
}
|
40 |
+
usrcol.insert_many(chat)
|
41 |
|
42 |
#Creating reminders from the described goal
|
43 |
def create_rem(ans):
|