thankfulcarp commited on
Commit
f9dfa50
·
1 Parent(s): 0790b22
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -40,7 +40,7 @@ try:
40
  filename=LORA_FILENAME,
41
  subfolder=LORA_SUBFOLDER
42
  )
43
- pipe.unet.load_lora_weights(lora_path, adapter_name="fusionx")
44
  pipe.set_adapters(["fusionx"])
45
  print("✅ Merged FusionX LoRA loaded. Use the 'LoRA Strength' slider to control the effect.")
46
  except Exception as e:
 
40
  filename=LORA_FILENAME,
41
  subfolder=LORA_SUBFOLDER
42
  )
43
+ pipe.transformer.load_lora_weights(lora_path, adapter_name="fusionx")
44
  pipe.set_adapters(["fusionx"])
45
  print("✅ Merged FusionX LoRA loaded. Use the 'LoRA Strength' slider to control the effect.")
46
  except Exception as e: