tokeron commited on
Commit
ea8200b
1 Parent(s): ca6c1fd

Update diffusion_lens.py

Browse files
Files changed (1) hide show
  1. 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)