Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -45,13 +45,13 @@ pipe.load_lora_weights(
|
|
| 45 |
"lightx2v/Qwen-Image-Lightning",
|
| 46 |
weight_name="Qwen-Image-Lightning-4steps-V2.0.safetensors", adapter_name="fast"
|
| 47 |
)
|
| 48 |
-
pipe.load_lora_weights(
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
)
|
| 52 |
-
pipe.set_adapters(["fast"
|
| 53 |
pipe.fuse_lora(adapter_names=["fast"])
|
| 54 |
-
pipe.fuse_lora(adapter_names=["fusion"])
|
| 55 |
pipe.unload_lora_weights()
|
| 56 |
|
| 57 |
# ✅ Load background remover
|
|
|
|
| 45 |
"lightx2v/Qwen-Image-Lightning",
|
| 46 |
weight_name="Qwen-Image-Lightning-4steps-V2.0.safetensors", adapter_name="fast"
|
| 47 |
)
|
| 48 |
+
# pipe.load_lora_weights(
|
| 49 |
+
# "dx8152/Qwen-Image-Edit-2509-Fusion",
|
| 50 |
+
# weight_name="溶图.safetensors", adapter_name="fusion"
|
| 51 |
+
# )
|
| 52 |
+
pipe.set_adapters(["fast"], adapter_weights=[1.])
|
| 53 |
pipe.fuse_lora(adapter_names=["fast"])
|
| 54 |
+
# pipe.fuse_lora(adapter_names=["fusion"])
|
| 55 |
pipe.unload_lora_weights()
|
| 56 |
|
| 57 |
# ✅ Load background remover
|