Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -45,8 +45,8 @@ def predict(img):
|
|
45 |
dataset=pose_model.cfg.data.test.type,
|
46 |
show=False)
|
47 |
|
48 |
-
original_image = Image.open(img)
|
49 |
-
width, height =
|
50 |
#vis_result = cv2.resize(vis_result, dsize=None, fx=0.5, fy=0.5)
|
51 |
print(f"POSE_RESULTS: {pose_results}")
|
52 |
|
|
|
45 |
dataset=pose_model.cfg.data.test.type,
|
46 |
show=False)
|
47 |
|
48 |
+
#original_image = Image.open(img)
|
49 |
+
width, height = img.size
|
50 |
#vis_result = cv2.resize(vis_result, dsize=None, fx=0.5, fy=0.5)
|
51 |
print(f"POSE_RESULTS: {pose_results}")
|
52 |
|