Spaces:
Running
on
Zero
Running
on
Zero
update app
Browse files
app.py
CHANGED
|
@@ -119,7 +119,7 @@ pipe.load_lora_weights("ostris/qwen_image_edit_2509_shirt_design",
|
|
| 119 |
|
| 120 |
pipe.load_lora_weights("dx8152/Qwen-Image-Edit-2509-Fusion",
|
| 121 |
weight_name="溶图.safetensors",
|
| 122 |
-
adapter_name="fusion")
|
| 123 |
|
| 124 |
try:
|
| 125 |
pipe.transformer.set_attn_processor(QwenDoubleStreamAttnProcessorFA3())
|
|
@@ -179,7 +179,7 @@ def infer(
|
|
| 179 |
"Texture Edit": "texture",
|
| 180 |
"Fuse-Objects": "fusion",
|
| 181 |
"Cloth-Design-Fuse": "shirt_design",
|
| 182 |
-
"Super-Fusion": "fusion",
|
| 183 |
}
|
| 184 |
|
| 185 |
active_adapter = adapters_map.get(lora_adapter)
|
|
|
|
| 119 |
|
| 120 |
pipe.load_lora_weights("dx8152/Qwen-Image-Edit-2509-Fusion",
|
| 121 |
weight_name="溶图.safetensors",
|
| 122 |
+
adapter_name="fusion-x")
|
| 123 |
|
| 124 |
try:
|
| 125 |
pipe.transformer.set_attn_processor(QwenDoubleStreamAttnProcessorFA3())
|
|
|
|
| 179 |
"Texture Edit": "texture",
|
| 180 |
"Fuse-Objects": "fusion",
|
| 181 |
"Cloth-Design-Fuse": "shirt_design",
|
| 182 |
+
"Super-Fusion": "fusion-x",
|
| 183 |
}
|
| 184 |
|
| 185 |
active_adapter = adapters_map.get(lora_adapter)
|