Linoy Tsaban commited on
Commit
9a6ef24
1 Parent(s): 5f8603a

Update pipeline_semantic_stable_diffusion_img2img_solver.py

Browse files
pipeline_semantic_stable_diffusion_img2img_solver.py CHANGED
@@ -12,9 +12,9 @@ from diffusers.models.attention_processor import AttnProcessor, Attention
12
  from diffusers.pipelines.stable_diffusion.safety_checker import StableDiffusionSafetyChecker
13
  from diffusers.schedulers import DDIMScheduler
14
  from scheduling_dpmsolver_multistep_inject import DPMSolverMultistepSchedulerInject
15
- from diffusers.utils import logging, randn_tensor
16
- # from diffusers.utils import logging
17
- # from diffusers.utils.torch_utils import randn_tensor
18
  from diffusers.pipelines.pipeline_utils import DiffusionPipeline
19
  from diffusers.pipelines.semantic_stable_diffusion import SemanticStableDiffusionPipelineOutput
20
 
 
12
  from diffusers.pipelines.stable_diffusion.safety_checker import StableDiffusionSafetyChecker
13
  from diffusers.schedulers import DDIMScheduler
14
  from scheduling_dpmsolver_multistep_inject import DPMSolverMultistepSchedulerInject
15
+ # from diffusers.utils import logging, randn_tensor
16
+ from diffusers.utils import logging
17
+ from diffusers.utils.torch_utils import randn_tensor
18
  from diffusers.pipelines.pipeline_utils import DiffusionPipeline
19
  from diffusers.pipelines.semantic_stable_diffusion import SemanticStableDiffusionPipelineOutput
20