Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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="
|
| 46 |
hf_hub_download(
|
| 47 |
-
repo_id="
|
| 48 |
-
filename="
|
| 49 |
local_dir="./checkpoints",
|
| 50 |
)
|
| 51 |
-
hf_hub_download(repo_id="InstantX/InstantID", filename="
|
| 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(
|