CosmoAI commited on
Commit
71b68e2
·
1 Parent(s): 6191b70

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -5
app.py CHANGED
@@ -61,10 +61,7 @@ def responsenew(data):
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]
66
- else:
67
- msg = "Reminder Alert"
68
  if values[1] is not None:
69
  time = values[1]
70
  else:
@@ -84,7 +81,7 @@ def responsenew(data):
84
  else:
85
  reps = "Once"
86
  respo = {
87
- 'messages': f"Your reminder for {msg} on {time} for {day} has been created successfully.",
88
  'action': "create_reminder",
89
  'function': {
90
  'id': idval,
 
61
  if data is not None:
62
  if "Remind me" in text:
63
  values = getValues(text)
64
+ msg = values[0]
 
 
 
65
  if values[1] is not None:
66
  time = values[1]
67
  else:
 
81
  else:
82
  reps = "Once"
83
  respo = {
84
+ 'messages': f"Message: {msg} \nTime: {time} \nDay: {day} \nCreated Successfully.",
85
  'action': "create_reminder",
86
  'function': {
87
  'id': idval,