wanghaofan commited on
Commit
141fb6e
·
verified ·
1 Parent(s): 30a77c4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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="InstantX/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'
 
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'