Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -14,13 +14,13 @@ def responsenew(data):
|
|
| 14 |
response = palm.chat(messages=data)
|
| 15 |
if "payment" in response.last:
|
| 16 |
respo = {
|
| 17 |
-
"message":
|
| 18 |
"action": "payment",
|
| 19 |
"function": "nothing"
|
| 20 |
}
|
| 21 |
elif "friends" in response.last:
|
| 22 |
respo = {
|
| 23 |
-
"message":
|
| 24 |
"action": "show_friends",
|
| 25 |
"function": "nothing"
|
| 26 |
}
|
|
|
|
| 14 |
response = palm.chat(messages=data)
|
| 15 |
if "payment" in response.last:
|
| 16 |
respo = {
|
| 17 |
+
"message": "Click the button below to view premium services and recharge options: ",
|
| 18 |
"action": "payment",
|
| 19 |
"function": "nothing"
|
| 20 |
}
|
| 21 |
elif "friends" in response.last:
|
| 22 |
respo = {
|
| 23 |
+
"message": "Click the option below to view list of your friends: ",
|
| 24 |
"action": "show_friends",
|
| 25 |
"function": "nothing"
|
| 26 |
}
|