Spaces:
Sleeping
Sleeping
Update diffusion_lens.py
Browse files- diffusion_lens.py +1 -0
diffusion_lens.py
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
from diffusers import StableDiffusionPipeline, EulerDiscreteScheduler
|
|
|
2 |
|
3 |
pipeline = StableDiffusionPipeline.from_pretrained("CompVis/stable-diffusion-v1-4")
|
4 |
pipeline.scheduler = EulerDiscreteScheduler.from_config(pipeline.scheduler.config)
|
|
|
1 |
from diffusers import StableDiffusionPipeline, EulerDiscreteScheduler
|
2 |
+
import torch
|
3 |
|
4 |
pipeline = StableDiffusionPipeline.from_pretrained("CompVis/stable-diffusion-v1-4")
|
5 |
pipeline.scheduler = EulerDiscreteScheduler.from_config(pipeline.scheduler.config)
|