Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -21,7 +21,7 @@ device = "cuda" if torch.cuda.is_available() else "cpu"
|
|
21 |
dtype = torch.float16 if str(device).__contains__("cuda") else torch.float32
|
22 |
|
23 |
# pre-trained weights
|
24 |
-
ip_adapter_path = hf_hub_download(repo_id="
|
25 |
base_model = 'black-forest-labs/FLUX.1-dev'
|
26 |
image_encoder_path = 'google/siglip-so400m-patch14-384'
|
27 |
image_encoder_2_path = 'facebook/dinov2-giant'
|
|
|
21 |
dtype = torch.float16 if str(device).__contains__("cuda") else torch.float32
|
22 |
|
23 |
# pre-trained weights
|
24 |
+
ip_adapter_path = hf_hub_download(repo_id="tencent/InstantCharacter", filename="instantcharacter_ip-adapter.bin")
|
25 |
base_model = 'black-forest-labs/FLUX.1-dev'
|
26 |
image_encoder_path = 'google/siglip-so400m-patch14-384'
|
27 |
image_encoder_2_path = 'facebook/dinov2-giant'
|