Spaces:
Running
on
Zero
Running
on
Zero
Jordan Legg
commited on
Commit
·
e82fd1e
1
Parent(s):
913daca
added lora
Browse files
app.py
CHANGED
|
@@ -11,6 +11,7 @@ device: str = "cuda" if torch.cuda.is_available() else "cpu"
|
|
| 11 |
|
| 12 |
|
| 13 |
pipe = DiffusionPipeline.from_pretrained("shuttleai/shuttle-3-diffusion", torch_dtype=dtype).to(device)
|
|
|
|
| 14 |
# Enable VAE tiling
|
| 15 |
pipe.vae.enable_tiling()
|
| 16 |
|
|
|
|
| 11 |
|
| 12 |
|
| 13 |
pipe = DiffusionPipeline.from_pretrained("shuttleai/shuttle-3-diffusion", torch_dtype=dtype).to(device)
|
| 14 |
+
pipe.load_lora_weights("prithivMLmods/Canopus-LoRA-Flux-UltraRealism-2.0")
|
| 15 |
# Enable VAE tiling
|
| 16 |
pipe.vae.enable_tiling()
|
| 17 |
|