Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -199,6 +199,12 @@ def responsenew(data):
|
|
| 199 |
"action": "shared_reminders",
|
| 200 |
"function": "nothing",
|
| 201 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 202 |
elif "show my routines" in text:
|
| 203 |
respo = {
|
| 204 |
"message": "Here's the list of your routines: ",
|
|
|
|
| 199 |
"action": "shared_reminders",
|
| 200 |
"function": "nothing",
|
| 201 |
}
|
| 202 |
+
elif "create a post" in text:
|
| 203 |
+
respo = {
|
| 204 |
+
"message": "Sure!",
|
| 205 |
+
"action": "create_post",
|
| 206 |
+
"function": "nothing",
|
| 207 |
+
}
|
| 208 |
elif "show my routines" in text:
|
| 209 |
respo = {
|
| 210 |
"message": "Here's the list of your routines: ",
|