Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,9 +4,7 @@ import spaces
|
|
| 4 |
import torch
|
| 5 |
from diffusers import StableDiffusionPipeline, StableDiffusionImg2ImgPipeline
|
| 6 |
|
| 7 |
-
pipeline = StableDiffusionPipeline.from_pretrained(
|
| 8 |
-
"nroggendorff/zelda-diffusion"
|
| 9 |
-
).to("cuda")
|
| 10 |
img2img = StableDiffusionImg2ImgPipeline(**pipeline.components)
|
| 11 |
|
| 12 |
@spaces.GPU
|
|
|
|
| 4 |
import torch
|
| 5 |
from diffusers import StableDiffusionPipeline, StableDiffusionImg2ImgPipeline
|
| 6 |
|
| 7 |
+
pipeline = StableDiffusionPipeline.from_pretrained("nroggendorff/zelda-diffusion").to("cuda")
|
|
|
|
|
|
|
| 8 |
img2img = StableDiffusionImg2ImgPipeline(**pipeline.components)
|
| 9 |
|
| 10 |
@spaces.GPU
|