multimodalart HF staff commited on
Commit
be7e901
1 Parent(s): d223295

Update modified_pipeline_semantic_stable_diffusion.py

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