Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -29,8 +29,6 @@ if torch.cuda.is_available():
|
|
29 |
add_watermarker=False
|
30 |
)
|
31 |
pipe.scheduler = EulerAncestralDiscreteScheduler.from_config(pipe.scheduler.config)
|
32 |
-
pipe.load_lora_weights("ehristoforu/dalle-3-xl-v2", weight_name="dalle-3-xl-lora-v2.safetensors", adapter_name="dalle")
|
33 |
-
pipe.set_adapters("dalle", adapter_weights=[0.7])
|
34 |
pipe.to("cuda")
|
35 |
|
36 |
|
|
|
29 |
add_watermarker=False
|
30 |
)
|
31 |
pipe.scheduler = EulerAncestralDiscreteScheduler.from_config(pipe.scheduler.config)
|
|
|
|
|
32 |
pipe.to("cuda")
|
33 |
|
34 |
|