Spaces:
Runtime error
Runtime error
preprocess/openpose/annotator/openpose/__init__.py
CHANGED
@@ -17,9 +17,9 @@ from .hand import Hand
|
|
17 |
from .face import Face
|
18 |
from annotator.util import annotator_ckpts_path
|
19 |
|
20 |
-
body_model_path = "https://
|
21 |
-
hand_model_path = "https://
|
22 |
-
face_model_path = "https://
|
23 |
|
24 |
|
25 |
def draw_pose(pose, H, W, draw_body=True, draw_hand=True, draw_face=True):
|
|
|
17 |
from .face import Face
|
18 |
from annotator.util import annotator_ckpts_path
|
19 |
|
20 |
+
body_model_path = "https://hf-mirror.com/lllyasviel/Annotators/resolve/main/body_pose_model.pth"
|
21 |
+
hand_model_path = "https://hf-mirror.com/lllyasviel/Annotators/resolve/main/hand_pose_model.pth"
|
22 |
+
face_model_path = "https://hf-mirror.com/lllyasviel/Annotators/resolve/main/facenet.pth"
|
23 |
|
24 |
|
25 |
def draw_pose(pose, H, W, draw_body=True, draw_hand=True, draw_face=True):
|