fix download

This commit is contained in:
kijai
2024-08-13 23:45:00 +03:00
parent 89fca00196
commit 7e3ec552f8
2 changed files with 6 additions and 1 deletions
+4
View File
@@ -2,6 +2,10 @@
These nodes include my wrapper for the original diffusers pipeline, as well as work in progress native ComfyUI implementation.
For the diffusers wrapper models should be downloaded automatically, for the native version you can get the unet here:
https://huggingface.co/Kijai/ControlNeXt-SVD-V2-Comfy/blob/main/controlnext-svd_v2-unet-fp16_converted.safetensors
Diffusers wrapper:
https://github.com/user-attachments/assets/9bc06d4c-b29a-45f5-8a67-211dd5d0f555
+2 -1
View File
@@ -93,7 +93,8 @@ class DownloadAndLoadControlNeXt:
if not os.path.exists(unet_model_path):
log.info(f"Downloading model to: {unet_model_path}")
from huggingface_hub import snapshot_download
snapshot_download(repo_id="Pbihao/ControlNeXt",
snapshot_download(repo_id="Kijai/ControlNeXt-SVD-V2-Comfy",
ignore_patterns=["*converted*"]
local_dir=download_path,
local_dir_use_symlinks=False)