Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -130,6 +130,13 @@ pipe = DiffusionPipeline.from_pretrained(
|
|
130 |
pipe.load_lora_weights(
|
131 |
"lightx2v/Qwen-Image-Lightning", weight_name="Qwen-Image-Lightning-8steps-V1.0.safetensors"
|
132 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
133 |
|
134 |
# --- UI Constants and Helpers ---
|
135 |
MAX_SEED = np.iinfo(np.int32).max
|
|
|
130 |
pipe.load_lora_weights(
|
131 |
"lightx2v/Qwen-Image-Lightning", weight_name="Qwen-Image-Lightning-8steps-V1.0.safetensors"
|
132 |
)
|
133 |
+
pipe.fuse_lora()
|
134 |
+
pipe.unload_lora_weights()
|
135 |
+
|
136 |
+
pipe.load_lora_weights("flymy-ai/qwen-image-realism-lora")
|
137 |
+
pipe.fuse_lora()
|
138 |
+
pipe.unload_lora_weights()
|
139 |
+
|
140 |
|
141 |
# --- UI Constants and Helpers ---
|
142 |
MAX_SEED = np.iinfo(np.int32).max
|