Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -465,12 +465,12 @@ try:
|
|
| 465 |
pipe.load_lora_weights("bdsqlsz/qinglong_DetailedEyes_Z-Image", weight_name="qinglong_detailedeye_z-imageV2(comfy).safetensors", adapter_name="lora")
|
| 466 |
|
| 467 |
pipe.set_adapters(["lora",], adapter_weights=[1.])
|
| 468 |
-
pipe.fuse_lora(adapter_names=["lora"], lora_scale=0.75)
|
| 469 |
except Exception as _e:
|
| 470 |
log(f"⚠️ Default LoRA load failed: {_e}")
|
| 471 |
|
| 472 |
#debug_pipeline(pipe)
|
| 473 |
-
pipe.unload_lora_weights()
|
| 474 |
pipe.to("cuda")
|
| 475 |
log("✅ Pipeline built successfully.")
|
| 476 |
LOGS += log("Pipeline build completed.") + "\n"
|
|
|
|
| 465 |
pipe.load_lora_weights("bdsqlsz/qinglong_DetailedEyes_Z-Image", weight_name="qinglong_detailedeye_z-imageV2(comfy).safetensors", adapter_name="lora")
|
| 466 |
|
| 467 |
pipe.set_adapters(["lora",], adapter_weights=[1.])
|
| 468 |
+
#pipe.fuse_lora(adapter_names=["lora"], lora_scale=0.75)
|
| 469 |
except Exception as _e:
|
| 470 |
log(f"⚠️ Default LoRA load failed: {_e}")
|
| 471 |
|
| 472 |
#debug_pipeline(pipe)
|
| 473 |
+
#pipe.unload_lora_weights()
|
| 474 |
pipe.to("cuda")
|
| 475 |
log("✅ Pipeline built successfully.")
|
| 476 |
LOGS += log("Pipeline build completed.") + "\n"
|