Spaces:
Running
on
Zero
Running
on
Zero
Commit
·
4cde892
1
Parent(s):
51668f3
app.py
CHANGED
@@ -176,8 +176,6 @@ hf_hub_download(repo_id="briaai/ID_preservation_2.3", filename="ip-adapter.bin",
|
|
176 |
hf_hub_download(repo_id="briaai/ID_preservation_2.3", filename="image_encoder/pytorch_model.bin", local_dir="./checkpoints")
|
177 |
hf_hub_download(repo_id="briaai/ID_preservation_2.3", filename="image_encoder/config.json", local_dir="./checkpoints")
|
178 |
|
179 |
-
hf_hub_download(repo_id="briaai/ID_preservation_2.3", filename="LoRAs/*", local_dir="./checkpoints")
|
180 |
-
|
181 |
|
182 |
# base_dir = "./instantID_ckpt/checkpoint_174000"
|
183 |
# face_adapter = f'{base_dir}/pytorch_model.bin'
|
@@ -233,7 +231,7 @@ Loras_dict = {
|
|
233 |
|
234 |
lora_names = Loras_dict.keys()
|
235 |
|
236 |
-
lora_base_path = "./
|
237 |
|
238 |
def randomize_seed_fn(seed: int, randomize_seed: bool) -> int:
|
239 |
if randomize_seed:
|
|
|
176 |
hf_hub_download(repo_id="briaai/ID_preservation_2.3", filename="image_encoder/pytorch_model.bin", local_dir="./checkpoints")
|
177 |
hf_hub_download(repo_id="briaai/ID_preservation_2.3", filename="image_encoder/config.json", local_dir="./checkpoints")
|
178 |
|
|
|
|
|
179 |
|
180 |
# base_dir = "./instantID_ckpt/checkpoint_174000"
|
181 |
# face_adapter = f'{base_dir}/pytorch_model.bin'
|
|
|
231 |
|
232 |
lora_names = Loras_dict.keys()
|
233 |
|
234 |
+
lora_base_path = "./LoRAs"
|
235 |
|
236 |
def randomize_seed_fn(seed: int, randomize_seed: bool) -> int:
|
237 |
if randomize_seed:
|