11 lines
648 B
Python
11 lines
648 B
Python
from huggingface_hub import hf_hub_download
|
|
|
|
# InstantID documentation:
|
|
# https://github.com/InstantID/InstantID/tree/main#download
|
|
|
|
# For downloading the face encoder model, refer to the following:
|
|
# https://github.com/deepinsight/insightface/issues/1896#issuecomment-1023867304
|
|
|
|
hf_hub_download(repo_id = "InstantX/InstantID", filename = "ControlNetModel/config.json", local_dir = "./checkpoints")
|
|
hf_hub_download(repo_id = "InstantX/InstantID", filename = "ControlNetModel/diffusion_pytorch_model.safetensors", local_dir = "./checkpoints")
|
|
hf_hub_download(repo_id = "InstantX/InstantID", filename = "ip-adapter.bin", local_dir = "./checkpoints") |