Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -12,17 +12,20 @@ from datetime import datetime
|
|
12 |
|
13 |
def download_models():
|
14 |
hf_hub_download(
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
|
|
|
|
|
|
26 |
|
27 |
|
28 |
def get_ip_model():
|
|
|
12 |
|
13 |
def download_models():
|
14 |
hf_hub_download(
|
15 |
+
repo_id='h94/IP-Adapter-FaceID',
|
16 |
+
filename='ip-adapter-faceid-plus_sd15.bin',
|
17 |
+
local_dir='IP-Adapter-FaceID'
|
18 |
+
)
|
19 |
+
hf_hub_download(
|
20 |
+
repo_id='h94/IP-Adapter',
|
21 |
+
filename='models/image_encoder/config.json',
|
22 |
+
local_dir='IP-Adapter'
|
23 |
+
)
|
24 |
+
hf_hub_download(
|
25 |
+
repo_id='h94/IP-Adapter',
|
26 |
+
filename='models/image_encoder/pytorch_model.bin',
|
27 |
+
local_dir='IP-Adapter'
|
28 |
+
)
|
29 |
|
30 |
|
31 |
def get_ip_model():
|