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