Update app.py

This commit is contained in:
sigma
2026-01-04 22:26:29 +00:00
committed by system
parent 0205b6ace4
commit 9f0cc27d9f

6
app.py
View File

@@ -243,6 +243,12 @@ pipe.load_lora_weights(
)
pipe.fuse_lora()
pipe.load_lora_weights(
"headlesssetton/kjfakjf",
weight_name="Qwen_Snofs_1_2.safetensors"
)
pipe.fuse_lora(lora_scale=1.0)
# # Apply the same optimizations from the first version
# pipe.transformer.__class__ = QwenImageTransformer2DModel
# pipe.transformer.set_attn_processor(QwenDoubleStreamAttnProcessorFA3())