CosmoAI commited on
Commit
4b40f5b
·
1 Parent(s): f35b6a6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -59,7 +59,7 @@ def responsenew(data):
59
  response = palm.chat( messages=text)
60
  print(f"\n{response.last}")
61
  if data is not None:
62
- if "Remind me" in text):
63
  values = getValues(text)
64
  if values[0] is not None:
65
  msg = values[0]
@@ -114,7 +114,7 @@ def responsenew(data):
114
  }
115
  }
116
 
117
- elif "Add to do" in text):
118
  respo = {
119
  'messages': "Todo added!",
120
  'action': "create_todo",
 
59
  response = palm.chat( messages=text)
60
  print(f"\n{response.last}")
61
  if data is not None:
62
+ if "Remind me" in text:
63
  values = getValues(text)
64
  if values[0] is not None:
65
  msg = values[0]
 
114
  }
115
  }
116
 
117
+ elif "Add to do" in text:
118
  respo = {
119
  'messages': "Todo added!",
120
  'action': "create_todo",