Spaces:
Running
on
Zero
Running
on
Zero
update
Browse files
app.py
CHANGED
@@ -39,16 +39,13 @@ ENABLE_CPU_OFFLOAD = 0
|
|
39 |
|
40 |
if torch.cuda.is_available():
|
41 |
pipe = StableDiffusionXLPipeline.from_pretrained(
|
42 |
-
"fluently/Fluently-XL-
|
43 |
torch_dtype=torch.float16,
|
44 |
use_safetensors=True,
|
45 |
)
|
46 |
-
pipe.scheduler = EulerAncestralDiscreteScheduler.from_config(pipe.scheduler.config)
|
47 |
-
|
48 |
-
|
49 |
pipe.load_lora_weights("ehristoforu/dalle-3-xl-v2", weight_name="dalle-3-xl-lora-v2.safetensors", adapter_name="dalle")
|
50 |
pipe.set_adapters("dalle")
|
51 |
-
|
52 |
pipe.to("cuda")
|
53 |
|
54 |
|
|
|
39 |
|
40 |
if torch.cuda.is_available():
|
41 |
pipe = StableDiffusionXLPipeline.from_pretrained(
|
42 |
+
"fluently/Fluently-XL-v4",
|
43 |
torch_dtype=torch.float16,
|
44 |
use_safetensors=True,
|
45 |
)
|
46 |
+
pipe.scheduler = EulerAncestralDiscreteScheduler.from_config(pipe.scheduler.config)
|
|
|
|
|
47 |
pipe.load_lora_weights("ehristoforu/dalle-3-xl-v2", weight_name="dalle-3-xl-lora-v2.safetensors", adapter_name="dalle")
|
48 |
pipe.set_adapters("dalle")
|
|
|
49 |
pipe.to("cuda")
|
50 |
|
51 |
|