jhj0517
commited on
Commit
·
4524c14
1
Parent(s):
6f578f7
Add animal url
Browse files
modules/live_portrait/model_downloader.py
CHANGED
|
@@ -14,6 +14,16 @@ MODELS_URL = {
|
|
| 14 |
"face_yolov8n": "https://huggingface.co/Bingsu/adetailer/resolve/main/face_yolov8n.pt"
|
| 15 |
}
|
| 16 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
|
| 18 |
def download_model(
|
| 19 |
file_path: str,
|
|
|
|
| 14 |
"face_yolov8n": "https://huggingface.co/Bingsu/adetailer/resolve/main/face_yolov8n.pt"
|
| 15 |
}
|
| 16 |
|
| 17 |
+
MODELS_ANIMAL_URL = {
|
| 18 |
+
"appearance_feature_extractor": "https://huggingface.co/Kijai/LivePortrait_safetensors/resolve/main/animal/appearance_feature_extractor.safetensors",
|
| 19 |
+
"motion_extractor": "https://huggingface.co/Kijai/LivePortrait_safetensors/resolve/main/animal/motion_extractor.safetensors",
|
| 20 |
+
"warping_module": "https://huggingface.co/Kijai/LivePortrait_safetensors/resolve/main/animal/warping_module.safetensors",
|
| 21 |
+
"spade_generator": "https://huggingface.co/Kijai/LivePortrait_safetensors/resolve/main/animal/spade_generator.safetensors",
|
| 22 |
+
"stitching_retargeting_module": "https://huggingface.co/Kijai/LivePortrait_safetensors/resolve/main/animal/stitching_retargeting_module.safetensors",
|
| 23 |
+
"face_yolov8n": "https://huggingface.co/Bingsu/adetailer/resolve/main/face_yolov8n.pt"
|
| 24 |
+
}
|
| 25 |
+
|
| 26 |
+
|
| 27 |
|
| 28 |
def download_model(
|
| 29 |
file_path: str,
|