Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
chenpangpang
diffusers
Commits
4f986fb2
Unverified
Commit
4f986fb2
authored
Jul 30, 2023
by
Patrick von Platen
Committed by
GitHub
Jul 30, 2023
Browse files
[SDXL] Fix dummy imports incorrect naming (#4370)
[SDXL] Fix dummy imports
parent
aae27262
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/diffusers/pipelines/stable_diffusion_xl/__init__.py
src/diffusers/pipelines/stable_diffusion_xl/__init__.py
+1
-1
No files found.
src/diffusers/pipelines/stable_diffusion_xl/__init__.py
View file @
4f986fb2
...
...
@@ -30,7 +30,7 @@ try:
if
not
(
is_transformers_available
()
and
is_torch_available
()):
raise
OptionalDependencyNotAvailable
()
except
OptionalDependencyNotAvailable
:
from
...utils.dummy_torch_and_transformers_
and_
objects
import
*
# noqa F403
from
...utils.dummy_torch_and_transformers_objects
import
*
# noqa F403
else
:
from
.pipeline_stable_diffusion_xl
import
StableDiffusionXLPipeline
from
.pipeline_stable_diffusion_xl_img2img
import
StableDiffusionXLImg2ImgPipeline
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment