Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -52,9 +52,9 @@ pipe.load_lora_weights(
|
|
52 |
adapter_name="phantom"
|
53 |
)
|
54 |
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
|
59 |
|
60 |
optimize_pipeline_(pipe,
|
|
|
52 |
adapter_name="phantom"
|
53 |
)
|
54 |
|
55 |
+
pipe.set_adapters(["phantom"], adapter_weights=[0.95])
|
56 |
+
pipe.fuse_lora(adapter_names=["phantom"], lora_scale=1.0)
|
57 |
+
pipe.unload_lora_weights()
|
58 |
|
59 |
|
60 |
optimize_pipeline_(pipe,
|