multimodalart HF Staff commited on
Commit
dfb0094
·
verified ·
1 Parent(s): a45516c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -42,13 +42,13 @@ enable_lcm_arg = False
42
  # download checkpoints
43
  from huggingface_hub import hf_hub_download
44
 
45
- hf_hub_download(repo_id="InstantX/InstantID", filename="ControlNetModel/config.json", local_dir="./checkpoints")
46
  hf_hub_download(
47
- repo_id="InstantX/InstantID",
48
- filename="ControlNetModel/diffusion_pytorch_model.safetensors",
49
  local_dir="./checkpoints",
50
  )
51
- hf_hub_download(repo_id="InstantX/InstantID", filename="ip-adapter.bin", local_dir="./checkpoints")
52
 
53
  # Load face encoder
54
  app = FaceAnalysis(
 
42
  # download checkpoints
43
  from huggingface_hub import hf_hub_download
44
 
45
+ hf_hub_download(repo_id="Super-shuhe/InstantID-FaceID-6M", filename="controlnet/config.json", local_dir="./checkpoints")
46
  hf_hub_download(
47
+ repo_id="Super-shuhe/InstantID-FaceID-6M",
48
+ filename="controlnet/diffusion_pytorch_model.safetensors",
49
  local_dir="./checkpoints",
50
  )
51
+ hf_hub_download(repo_id="InstantX/InstantID", filename="pytorch_model.bin", local_dir="./checkpoints")
52
 
53
  # Load face encoder
54
  app = FaceAnalysis(