Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -54,7 +54,7 @@ def predict(img):
|
|
54 |
black_img = np.zeros((height, width, 3), np.uint8)
|
55 |
|
56 |
# iterate through each person in the POSE_RESULTS data
|
57 |
-
for person in
|
58 |
# get the keypoints for this person
|
59 |
keypoints = person['keypoints']
|
60 |
|
|
|
54 |
black_img = np.zeros((height, width, 3), np.uint8)
|
55 |
|
56 |
# iterate through each person in the POSE_RESULTS data
|
57 |
+
for person in pose_results:
|
58 |
# get the keypoints for this person
|
59 |
keypoints = person['keypoints']
|
60 |
|