Spaces:
Runtime error
Runtime error
add pose_keypoints_2d
Browse files
main.py
CHANGED
|
@@ -37,7 +37,7 @@ def GeneratePosesJSON(input):
|
|
| 37 |
formatted_data = []
|
| 38 |
for person in data:
|
| 39 |
formatted_data.append({ "pose_keypoints_2d": person })
|
| 40 |
-
return { 'people':
|
| 41 |
|
| 42 |
@app.route('/')
|
| 43 |
@cross_origin()
|
|
|
|
| 37 |
formatted_data = []
|
| 38 |
for person in data:
|
| 39 |
formatted_data.append({ "pose_keypoints_2d": person })
|
| 40 |
+
return { 'people': formatted_data, 'animals': [], 'canvas_width': 900, 'canvas_height': 300 }
|
| 41 |
|
| 42 |
@app.route('/')
|
| 43 |
@cross_origin()
|