Spaces:
Running
on
A10G
Running
on
A10G
Linoy Tsaban
commited on
Commit
•
5f8603a
1
Parent(s):
361efce
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 |
-
|
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
|
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
|