Spaces:
Running
on
Zero
Running
on
Zero
Commit
·
f9dfa50
1
Parent(s):
0790b22
Lora fix
Browse files
app.py
CHANGED
@@ -40,7 +40,7 @@ try:
|
|
40 |
filename=LORA_FILENAME,
|
41 |
subfolder=LORA_SUBFOLDER
|
42 |
)
|
43 |
-
pipe.
|
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:
|