Spaces:
Runtime error
Runtime error
cocktailpeanut
commited on
Commit
·
15725e1
1
Parent(s):
bc58275
update
Browse files- download.py +10 -0
download.py
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import huggingface_hub
|
2 |
+
huggingface_hub.snapshot_download(
|
3 |
+
repo_id='h94/IP-Adapter',
|
4 |
+
allow_patterns=[
|
5 |
+
'models/**',
|
6 |
+
'sdxl_models/**',
|
7 |
+
],
|
8 |
+
local_dir='./',
|
9 |
+
local_dir_use_symlinks=False,
|
10 |
+
)
|