Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -24,6 +24,12 @@ def responsenew(data):
|
|
| 24 |
"action": "show_friends",
|
| 25 |
"function": "nothing"
|
| 26 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 27 |
print(data)
|
| 28 |
return json.dumps(respo)
|
| 29 |
|
|
|
|
| 24 |
"action": "show_friends",
|
| 25 |
"function": "nothing"
|
| 26 |
}
|
| 27 |
+
else:
|
| 28 |
+
respo = {
|
| 29 |
+
"message": response.last,
|
| 30 |
+
"action": "nothing",
|
| 31 |
+
"function": "nothing"
|
| 32 |
+
}
|
| 33 |
print(data)
|
| 34 |
return json.dumps(respo)
|
| 35 |
|