Spaces:
Paused
Paused
Updated
Browse files- pb_hooks/ping_api.js +1 -1
pb_hooks/ping_api.js
CHANGED
|
@@ -17,7 +17,7 @@ module.exports = {
|
|
| 17 |
url: url,
|
| 18 |
method: "GET",
|
| 19 |
body: JSON.stringify({
|
| 20 |
-
data: [
|
| 21 |
}),
|
| 22 |
headers: {
|
| 23 |
"content-type": "application/json",
|
|
|
|
| 17 |
url: url,
|
| 18 |
method: "GET",
|
| 19 |
body: JSON.stringify({
|
| 20 |
+
data: [payload] // The array argument from app.predict() goes here
|
| 21 |
}),
|
| 22 |
headers: {
|
| 23 |
"content-type": "application/json",
|