Spaces:
Runtime error
Runtime error
fix bug
Browse files- demo/model.py +1 -0
demo/model.py
CHANGED
@@ -378,6 +378,7 @@ class Model_all:
|
|
378 |
pose_link_color=self.pose_link_color,
|
379 |
radius=2,
|
380 |
thickness=2)
|
|
|
381 |
|
382 |
# extract condition features
|
383 |
c = self.base_model.get_learned_conditioning([prompt + ', ' + pos_prompt])
|
|
|
378 |
pose_link_color=self.pose_link_color,
|
379 |
radius=2,
|
380 |
thickness=2)
|
381 |
+
im_keypose_out = cv2.resize(im_keypose_out, (512, 512))
|
382 |
|
383 |
# extract condition features
|
384 |
c = self.base_model.get_learned_conditioning([prompt + ', ' + pos_prompt])
|