04c943b d2e0c5b
1
2
3
4
5
6
7
8
9
10
def download_ipadapter(): from huggingface_hub import snapshot_download snapshot_download(repo_id="h94/IP-Adapter", ignore_patterns="sdxl_models/*", local_dir="./downloads/") from my_ipadapter_model import load_ipadapter ip_model = load_ipadapter(device="cpu")