Update app_allfile.py
Browse files- app_allfile.py +8 -8
app_allfile.py
CHANGED
|
@@ -116,17 +116,17 @@ pipe = QwenImageEditPlusPipeline.from_pretrained(
|
|
| 116 |
).to(device)
|
| 117 |
|
| 118 |
# Load LoRA weights
|
| 119 |
-
# pipe.load_lora_weights(
|
| 120 |
-
# "2vXpSwA7/iroiro-lora",
|
| 121 |
-
# weight_name="qwen_lora/Qwen-Image-Edit-2509-Lightning-4steps-V1.0-bf16_dim1.safetensors"
|
| 122 |
-
# )
|
| 123 |
-
# pipe.fuse_lora(lora_scale=1.0)
|
| 124 |
-
|
| 125 |
pipe.load_lora_weights(
|
| 126 |
-
"
|
| 127 |
-
weight_name="qwen_lora/
|
| 128 |
)
|
| 129 |
pipe.fuse_lora(lora_scale=1.0)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 130 |
pipe.unload_lora_weights()
|
| 131 |
pipe.transformer.__class__ = QwenImageTransformer2DModel
|
| 132 |
pipe.transformer.set_attn_processor(QwenDoubleStreamAttnProcessorFA3())
|
|
|
|
| 116 |
).to(device)
|
| 117 |
|
| 118 |
# Load LoRA weights
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 119 |
pipe.load_lora_weights(
|
| 120 |
+
"2vXpSwA7/iroiro-lora",
|
| 121 |
+
weight_name="qwen_lora/Qwen-Image-Edit-2509-Lightning-4steps-V1.0-bf16_dim1.safetensors"
|
| 122 |
)
|
| 123 |
pipe.fuse_lora(lora_scale=1.0)
|
| 124 |
+
|
| 125 |
+
# pipe.load_lora_weights(
|
| 126 |
+
# "rahul7star/qwen-char-lora",
|
| 127 |
+
# weight_name="qwen_lora/qwen-multiple-char.safetensors",
|
| 128 |
+
# )
|
| 129 |
+
# pipe.fuse_lora(lora_scale=1.0)
|
| 130 |
pipe.unload_lora_weights()
|
| 131 |
pipe.transformer.__class__ = QwenImageTransformer2DModel
|
| 132 |
pipe.transformer.set_attn_processor(QwenDoubleStreamAttnProcessorFA3())
|