Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -463,12 +463,12 @@ try:
|
|
| 463 |
try:
|
| 464 |
pipe.load_lora_weights("rahul7star/ZImageLora",
|
| 465 |
weight_name="Anime/retro_neo_noir_style_z_image_turbo.safetensors", adapter_name="lora")
|
| 466 |
-
pipe.set_adapters(["lora",], adapter_weights=[
|
| 467 |
pipe.fuse_lora(adapter_names=["lora"], lora_scale=0.75)
|
| 468 |
except Exception as _e:
|
| 469 |
log(f"⚠️ Default LoRA load failed: {_e}")
|
| 470 |
|
| 471 |
-
debug_pipeline(pipe)
|
| 472 |
# pipe.unload_lora_weights()
|
| 473 |
pipe.to("cuda")
|
| 474 |
log("✅ Pipeline built successfully.")
|
|
|
|
| 463 |
try:
|
| 464 |
pipe.load_lora_weights("rahul7star/ZImageLora",
|
| 465 |
weight_name="Anime/retro_neo_noir_style_z_image_turbo.safetensors", adapter_name="lora")
|
| 466 |
+
pipe.set_adapters(["lora",], adapter_weights=[0.7])
|
| 467 |
pipe.fuse_lora(adapter_names=["lora"], lora_scale=0.75)
|
| 468 |
except Exception as _e:
|
| 469 |
log(f"⚠️ Default LoRA load failed: {_e}")
|
| 470 |
|
| 471 |
+
#debug_pipeline(pipe)
|
| 472 |
# pipe.unload_lora_weights()
|
| 473 |
pipe.to("cuda")
|
| 474 |
log("✅ Pipeline built successfully.")
|