Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -18,9 +18,7 @@ pipe.to("cuda")
|
|
18 |
refiner = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-xl-refiner-1.0", vae=vae, torch_dtype=torch.float16, use_safetensors=True, variant="fp16")
|
19 |
refiner.to("cuda")
|
20 |
|
21 |
-
pipe_fast = DiffusionPipeline.from_pretrained(
|
22 |
-
pipe_fast.load_lora_weights("KingNish/Better-Image-XL-Lora", weight_name="example-03.safetensors", adapter_name="lora")
|
23 |
-
pipe_fast.set_adapters("lora")
|
24 |
pipe_fast.to("cuda")
|
25 |
|
26 |
help_text = """
|
|
|
18 |
refiner = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-xl-refiner-1.0", vae=vae, torch_dtype=torch.float16, use_safetensors=True, variant="fp16")
|
19 |
refiner.to("cuda")
|
20 |
|
21 |
+
pipe_fast = DiffusionPipeline.from_pretrained("SG161222/RealVisXL_V4.0_Lightning", torch_dtype=torch.float16, use_safetensors=True, variant="fp16")
|
|
|
|
|
22 |
pipe_fast.to("cuda")
|
23 |
|
24 |
help_text = """
|