Linoy Tsaban commited on
Commit
2e20557
1 Parent(s): 8eb7011

Update modified_pipeline_semantic_stable_diffusion.py

Browse files
modified_pipeline_semantic_stable_diffusion.py CHANGED
@@ -12,8 +12,8 @@ from diffusers.models import AutoencoderKL, UNet2DConditionModel
12
  from diffusers.models.attention_processor import AttnProcessor, Attention
13
  from diffusers.pipelines.stable_diffusion.safety_checker import StableDiffusionSafetyChecker
14
  from diffusers.schedulers import KarrasDiffusionSchedulers
15
- from diffusers.utils import logging
16
- from diffusers.utils.torch_utils import randn_tensor
17
  from diffusers.pipelines.pipeline_utils import DiffusionPipeline
18
  from diffusers.pipelines.stable_diffusion import StableDiffusionPipelineOutput
19
  # from . import SemanticStableDiffusionPipelineOutput
 
12
  from diffusers.models.attention_processor import AttnProcessor, Attention
13
  from diffusers.pipelines.stable_diffusion.safety_checker import StableDiffusionSafetyChecker
14
  from diffusers.schedulers import KarrasDiffusionSchedulers
15
+ from diffusers.utils import logging, randn_tensor
16
+ # from diffusers.utils.torch_utils import randn_tensor
17
  from diffusers.pipelines.pipeline_utils import DiffusionPipeline
18
  from diffusers.pipelines.stable_diffusion import StableDiffusionPipelineOutput
19
  # from . import SemanticStableDiffusionPipelineOutput