CosmoAI commited on
Commit
c25a6dd
·
1 Parent(s): e578d58

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -29,14 +29,14 @@ bard = Bard(token = uri )
29
 
30
  #Store user bot chat messages
31
  def chat_message(ques, 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
 
29
 
30
  #Store user bot chat messages
31
  def chat_message(ques, 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