allAI-tools commited on
Commit
1b5924f
ยท
verified ยท
1 Parent(s): 24662ea
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://huggingface.co/lllyasviel/Annotators/resolve/main/body_pose_model.pth"
21
- hand_model_path = "https://huggingface.co/lllyasviel/Annotators/resolve/main/hand_pose_model.pth"
22
- face_model_path = "https://huggingface.co/lllyasviel/Annotators/resolve/main/facenet.pth"
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):