Spaces:
Runtime error
Runtime error
Commit
·
51668f3
1
Parent(s):
118d6a9
wip
Browse files
app.py
CHANGED
@@ -176,6 +176,7 @@ 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 |
|
180 |
|
181 |
# base_dir = "./instantID_ckpt/checkpoint_174000"
|
@@ -232,7 +233,7 @@ Loras_dict = {
|
|
232 |
|
233 |
lora_names = Loras_dict.keys()
|
234 |
|
235 |
-
lora_base_path = "./LoRAs"
|
236 |
|
237 |
def randomize_seed_fn(seed: int, randomize_seed: bool) -> int:
|
238 |
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 |
+
hf_hub_download(repo_id="briaai/ID_preservation_2.3", filename="LoRAs/*", local_dir="./checkpoints")
|
180 |
|
181 |
|
182 |
# base_dir = "./instantID_ckpt/checkpoint_174000"
|
|
|
233 |
|
234 |
lora_names = Loras_dict.keys()
|
235 |
|
236 |
+
lora_base_path = "./checkpoints/LoRAs"
|
237 |
|
238 |
def randomize_seed_fn(seed: int, randomize_seed: bool) -> int:
|
239 |
if randomize_seed:
|