KseniaAI commited on
Commit
07b2309
·
verified ·
1 Parent(s): c31268c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +14 -11
app.py CHANGED
@@ -12,17 +12,20 @@ from datetime import datetime
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
- hf_hub_download(
19
- repo_id='h94/IP-Adapter',
20
- filename='models/image_encoder/config.json',
21
- local_dir='IP-Adapter')
22
- hf_hub_download(
23
- repo_id='h94/IP-Adapter',
24
- filename='models/image_encoder/pytorch_model.bin',
25
- local_dir='IP-Adapter')
 
 
 
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():