Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions nodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
KDPM2DiscreteScheduler,
)

from huggingface_hub import snapshot_download
from huggingface_hub import hf_hub_download, model_info

from plyfile import PlyData
import trimesh
Expand Down Expand Up @@ -1537,7 +1537,7 @@ def load_diffusers_pipe(self, diffusers_pipeline_name, repo_id, custom_pipeline,

# resume download pretrained checkpoint
ckpt_download_dir = os.path.join(CKPT_DIFFUSERS_PATH, repo_id)
snapshot_download(repo_id=repo_id, local_dir=ckpt_download_dir, force_download=force_download, repo_type="model", ignore_patterns=HF_DOWNLOAD_IGNORE)
hf_hub_download(repo_id=repo_id, local_dir=ckpt_download_dir, force_download=force_download, repo_type="model", ignore_patterns=HF_DOWNLOAD_IGNORE)

diffusers_pipeline_class = DIFFUSERS_PIPE_DICT[diffusers_pipeline_name]

Expand Down