Spaces:
Running
on
Zero
Running
on
Zero
alfredplpl
commited on
Commit
•
c9e1808
1
Parent(s):
920401b
Update app.py
Browse files
app.py
CHANGED
@@ -32,9 +32,9 @@ pipe = AutoPipelineForText2Image.from_pretrained(
|
|
32 |
pipe.scheduler = LCMScheduler.from_config(pipe.scheduler.config)
|
33 |
|
34 |
pipe=pipe.to("cuda")
|
35 |
-
|
36 |
#pipe.load_lora_weights(adapter_id_2)
|
37 |
-
|
38 |
|
39 |
pipe.enable_freeu(s1=0.9, s2=0.2, b1=1.3, b2=1.4)
|
40 |
#pipe.enable_freeu(s1=0.6, s2=0.4, b1=1.1, b2=1.2)
|
|
|
32 |
pipe.scheduler = LCMScheduler.from_config(pipe.scheduler.config)
|
33 |
|
34 |
pipe=pipe.to("cuda")
|
35 |
+
pipe.load_lora_weights(adapter_id)
|
36 |
#pipe.load_lora_weights(adapter_id_2)
|
37 |
+
pipe.fuse_lora()
|
38 |
|
39 |
pipe.enable_freeu(s1=0.9, s2=0.2, b1=1.3, b2=1.4)
|
40 |
#pipe.enable_freeu(s1=0.6, s2=0.4, b1=1.1, b2=1.2)
|