Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -40,7 +40,7 @@ pipe.load_lora_weights(
|
|
| 40 |
)
|
| 41 |
|
| 42 |
pipe.set_adapters(["relight"], adapter_weights=[1.])
|
| 43 |
-
pipe.fuse_lora(adapter_names=["relight"], lora_scale=1
|
| 44 |
pipe.unload_lora_weights()
|
| 45 |
|
| 46 |
pipe.transformer.__class__ = QwenImageTransformer2DModel
|
|
|
|
| 40 |
)
|
| 41 |
|
| 42 |
pipe.set_adapters(["relight"], adapter_weights=[1.])
|
| 43 |
+
pipe.fuse_lora(adapter_names=["relight"], lora_scale=1)
|
| 44 |
pipe.unload_lora_weights()
|
| 45 |
|
| 46 |
pipe.transformer.__class__ = QwenImageTransformer2DModel
|