jhj0517 commited on
Commit ·
ccfe1b7
1
Parent(s): 46fa2af
Update animal model name
Browse filesFiles changed (2)
19 unmodified lines202122232425262728293019 unmodified lines"warping_module": "https://huggingface.co/Kijai/LivePortrait_safetensors/resolve/main/animal/warping_module.safetensors","spade_generator": "https://huggingface.co/Kijai/LivePortrait_safetensors/resolve/main/animal/spade_generator.safetensors","stitching_retargeting_module": "https://huggingface.co/Kijai/LivePortrait_safetensors/resolve/main/animal/stitching_retargeting_module.safetensors","face_yolov8n": "https://huggingface.co/Bingsu/adetailer/resolve/main/face_yolov8n.pt"}def download_model(file_path: str,url: str,19 unmodified lines202122232425262728293019 unmodified lines"warping_module": "https://huggingface.co/Kijai/LivePortrait_safetensors/resolve/main/animal/warping_module.safetensors","spade_generator": "https://huggingface.co/Kijai/LivePortrait_safetensors/resolve/main/animal/spade_generator.safetensors","stitching_retargeting_module": "https://huggingface.co/Kijai/LivePortrait_safetensors/resolve/main/animal/stitching_retargeting_module.safetensors",# Just animal detection model not the face, needs better model"yolo_v5s_animal_det": "https://huggingface.co/degirum/yolo_v5s_animal_det_512x512_quant_n2x_cpu_1/resolve/main/yolo_v5s_animal_det_512x512_quant_n2x_cpu_1.n2x"}def download_model(file_path: str,url: str,
22 unmodified lines2324252627282922 unmodified lines"warping_module": os.path.join(MODELS_ANIMAL_DIR, "warping_module.safetensors"),"spade_generator": os.path.join(MODELS_ANIMAL_DIR, "spade_generator.safetensors"),"stitching_retargeting_module": os.path.join(MODELS_ANIMAL_DIR, "stitching_retargeting_module.safetensors"),"face_yolov8n": os.path.join(MODELS_DIR, "face_yolov8n.pt")}MASK_TEMPLATES = os.path.join(PROJECT_ROOT_DIR, "modules", "utils", "resources", "mask_template.png")I18N_YAML_PATH = os.path.join(PROJECT_ROOT_DIR, "i18n", "translation.yaml")22 unmodified lines232425262728293022 unmodified lines"warping_module": os.path.join(MODELS_ANIMAL_DIR, "warping_module.safetensors"),"spade_generator": os.path.join(MODELS_ANIMAL_DIR, "spade_generator.safetensors"),"stitching_retargeting_module": os.path.join(MODELS_ANIMAL_DIR, "stitching_retargeting_module.safetensors"),# Just animal detection model not the face, needs better model"yolo_v5s_animal_det": os.path.join(MODELS_ANIMAL_DIR, "yolo_v5s_animal_det.n2x")}MASK_TEMPLATES = os.path.join(PROJECT_ROOT_DIR, "modules", "utils", "resources", "mask_template.png")I18N_YAML_PATH = os.path.join(PROJECT_ROOT_DIR, "i18n", "translation.yaml")
modules/live_portrait/model_downloader.py+2-2
modules/utils/paths.py+2-1