Spaces:
Running
Running
Update app.py
Browse files
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 |
-
|
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"
|
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,
|