Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -104,7 +104,7 @@ def responsenew(data):
|
|
| 104 |
* if intent = sharing a group return = "share_group"
|
| 105 |
* if intent = sharing a todo list return = "share_todo_list"
|
| 106 |
* if intent = sharing a note return = "share_note"
|
| 107 |
-
* if intent is
|
| 108 |
|
| 109 |
""",
|
| 110 |
)
|
|
@@ -153,10 +153,10 @@ def responsenew(data):
|
|
| 153 |
# "action": "nothing",
|
| 154 |
# "function": "nothing",
|
| 155 |
# }
|
| 156 |
-
elif "
|
| 157 |
respo = {
|
| 158 |
-
"message":
|
| 159 |
-
"action": "
|
| 160 |
"function": "nothing",
|
| 161 |
}
|
| 162 |
else:
|
|
|
|
| 104 |
* if intent = sharing a group return = "share_group"
|
| 105 |
* if intent = sharing a todo list return = "share_todo_list"
|
| 106 |
* if intent = sharing a note return = "share_note"
|
| 107 |
+
* if intent is notify then return "send_notify"
|
| 108 |
|
| 109 |
""",
|
| 110 |
)
|
|
|
|
| 153 |
# "action": "nothing",
|
| 154 |
# "function": "nothing",
|
| 155 |
# }
|
| 156 |
+
elif "send_notify" in intent.last:
|
| 157 |
respo = {
|
| 158 |
+
"message": "Select your friends to notify",
|
| 159 |
+
"action": "send_notify",
|
| 160 |
"function": "nothing",
|
| 161 |
}
|
| 162 |
else:
|