Spaces:
Runtime error
Runtime error
Update demo/model.py
Browse files- demo/model.py +1 -1
demo/model.py
CHANGED
@@ -378,7 +378,7 @@ class Model_all:
|
|
378 |
pose_link_color=self.pose_link_color,
|
379 |
radius=2,
|
380 |
thickness=2)
|
381 |
-
im_keypose_out = im_keypose_out.astype(np.uint8)
|
382 |
|
383 |
# extract condition features
|
384 |
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 = im_keypose_out.astype(np.uint8)[:,:,::-1]
|
382 |
|
383 |
# extract condition features
|
384 |
c = self.base_model.get_learned_conditioning([prompt + ', ' + pos_prompt])
|