Update app-quick.py
Browse files- app-quick.py +6 -6
app-quick.py
CHANGED
|
@@ -35,16 +35,16 @@ scheduler = FlowMatchEulerDiscreteScheduler.from_config(scheduler_config)
|
|
| 35 |
#"Qwen/Qwen-Image-Edit-2509",
|
| 36 |
pipe = QwenImageEditPlusPipeline.from_pretrained(
|
| 37 |
|
| 38 |
-
"
|
| 39 |
scheduler=scheduler,
|
| 40 |
torch_dtype=dtype
|
| 41 |
).to(device)
|
| 42 |
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
|
| 49 |
|
| 50 |
# pipe.load_lora_weights(
|
|
|
|
| 35 |
#"Qwen/Qwen-Image-Edit-2509",
|
| 36 |
pipe = QwenImageEditPlusPipeline.from_pretrained(
|
| 37 |
|
| 38 |
+
"Qwen/Qwen-Image-Edit-2509",
|
| 39 |
scheduler=scheduler,
|
| 40 |
torch_dtype=dtype
|
| 41 |
).to(device)
|
| 42 |
|
| 43 |
+
pipe.load_lora_weights(
|
| 44 |
+
"rahul7star/qwen-char-lora",
|
| 45 |
+
weight_name="qwen_lora/Qwen-Image-Edit-2509-Lightning-4steps-V1.0-bf16_dim1.safetensors"
|
| 46 |
+
)
|
| 47 |
+
pipe.fuse_lora(lora_scale=1.0)
|
| 48 |
|
| 49 |
|
| 50 |
# pipe.load_lora_weights(
|