rahul7star commited on
Commit
87e1782
·
verified ·
1 Parent(s): a6a8e1e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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=[1.])
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.")