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
OpenDAS
diffusers
Commits
94b332c4
Unverified
Commit
94b332c4
authored
Aug 01, 2023
by
YiYi Xu
Committed by
GitHub
Aug 01, 2023
Browse files
support from_single_file for SDXL inpainting (#4408)
fix Co-authored-by:
yiyixuxu
<
yixu310@gmail,com
>
parent
6f4355f8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
src/diffusers/pipelines/stable_diffusion/convert_from_ckpt.py
...diffusers/pipelines/stable_diffusion/convert_from_ckpt.py
+1
-2
No files found.
src/diffusers/pipelines/stable_diffusion/convert_from_ckpt.py
View file @
94b332c4
...
@@ -1186,7 +1186,6 @@ def download_from_original_stable_diffusion_ckpt(
...
@@ -1186,7 +1186,6 @@ def download_from_original_stable_diffusion_ckpt(
StableDiffusionInpaintPipeline
,
StableDiffusionInpaintPipeline
,
StableDiffusionPipeline
,
StableDiffusionPipeline
,
StableDiffusionXLImg2ImgPipeline
,
StableDiffusionXLImg2ImgPipeline
,
StableDiffusionXLPipeline
,
StableUnCLIPImg2ImgPipeline
,
StableUnCLIPImg2ImgPipeline
,
StableUnCLIPPipeline
,
StableUnCLIPPipeline
,
)
)
...
@@ -1543,7 +1542,7 @@ def download_from_original_stable_diffusion_ckpt(
...
@@ -1543,7 +1542,7 @@ def download_from_original_stable_diffusion_ckpt(
checkpoint
,
config_name
,
prefix
=
"conditioner.embedders.1.model."
,
has_projection
=
True
,
**
config_kwargs
checkpoint
,
config_name
,
prefix
=
"conditioner.embedders.1.model."
,
has_projection
=
True
,
**
config_kwargs
)
)
pipe
=
StableDiffusionXLP
ipeline
(
pipe
=
p
ipeline
_class
(
vae
=
vae
,
vae
=
vae
,
text_encoder
=
text_encoder
,
text_encoder
=
text_encoder
,
tokenizer
=
tokenizer
,
tokenizer
=
tokenizer
,
...
...
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