CosmoAI commited on
Commit
cf74854
·
1 Parent(s): f561338

Update getvalues.py

Browse files
Files changed (1) hide show
  1. getvalues.py +1 -1
getvalues.py CHANGED
@@ -73,7 +73,7 @@ def getValues(query):
73
  date = findDate(query)
74
  month = findMonth(query)
75
  day = findDay(query)
76
- message = query.lower().replace(time, "").replace(day, "").replace(reps, "").replace("create a reminder", "").replace("remind me to", "").replace("cosmo", ""). replace("remind", "")
77
  return message, time, day, date, reps, num, month
78
 
79
  # query = "remind me to work on my portfolio at 5:00 pm tomorrow"
 
73
  date = findDate(query)
74
  month = findMonth(query)
75
  day = findDay(query)
76
+ message = query.lower().replace(time, "").replace(day, "").replace(reps, "").replace("remind me", "").replace("remind me to", "").replace("remind", "")
77
  return message, time, day, date, reps, num, month
78
 
79
  # query = "remind me to work on my portfolio at 5:00 pm tomorrow"