File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed
src/diffusers/pipelines/stable_diffusion Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change 65
65
except OptionalDependencyNotAvailable :
66
66
from ...utils .dummy_torch_and_transformers_objects import (
67
67
StableDiffusionDepth2ImgPipeline ,
68
- StableDiffusionPix2PixZeroPipeline ,
69
68
)
70
69
71
70
_dummy_objects .update (
72
71
{
73
72
"StableDiffusionDepth2ImgPipeline" : StableDiffusionDepth2ImgPipeline ,
74
- "StableDiffusionPix2PixZeroPipeline" : StableDiffusionPix2PixZeroPipeline ,
75
73
}
76
74
)
77
75
else :
78
76
_import_structure ["pipeline_stable_diffusion_depth2img" ] = ["StableDiffusionDepth2ImgPipeline" ]
79
- _import_structure ["pipeline_stable_diffusion_pix2pix_zero" ] = ["StableDiffusionPix2PixZeroPipeline" ]
80
77
81
78
try :
82
79
if not (is_transformers_available () and is_onnx_available ()):
150
147
if not (is_transformers_available () and is_torch_available () and is_transformers_version (">=" , "4.26.0" )):
151
148
raise OptionalDependencyNotAvailable ()
152
149
except OptionalDependencyNotAvailable :
153
- from ...utils .dummy_torch_and_transformers_objects import (
154
- StableDiffusionDepth2ImgPipeline ,
155
- StableDiffusionPix2PixZeroPipeline ,
156
- )
150
+ from ...utils .dummy_torch_and_transformers_objects import StableDiffusionDepth2ImgPipeline
157
151
else :
158
152
from .pipeline_stable_diffusion_depth2img import (
159
153
StableDiffusionDepth2ImgPipeline ,
You can’t perform that action at this time.
0 commit comments