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
405574bc
Commit
405574bc
authored
Aug 08, 2024
by
lijian6
Browse files
return image before postprocess for Dreamshaper RealESRGAN
Signed-off-by:
lijian
<
lijian6@sugon.com
>
parent
d5dcc5c6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
src/diffusers/pipelines/stable_diffusion_xl/pipeline_stable_diffusion_xl.py
...lines/stable_diffusion_xl/pipeline_stable_diffusion_xl.py
+1
-0
No files found.
src/diffusers/pipelines/stable_diffusion_xl/pipeline_stable_diffusion_xl.py
View file @
405574bc
...
@@ -1295,6 +1295,7 @@ class StableDiffusionXLPipeline(
...
@@ -1295,6 +1295,7 @@ class StableDiffusionXLPipeline(
else
:
else
:
image
=
latents
image
=
latents
return
image
if
not
output_type
==
"latent"
:
if
not
output_type
==
"latent"
:
# apply watermark if available
# apply watermark if available
if
self
.
watermark
is
not
None
:
if
self
.
watermark
is
not
None
:
...
...
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