Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
renzhc
diffusers_dcu
Commits
807f69b3
Unverified
Commit
807f69b3
authored
Apr 16, 2023
by
Tommaso De Rossi
Committed by
GitHub
Apr 16, 2023
Browse files
Fix breaking change in `pipeline_stable_diffusion_controlnet.py` (#3118)
fix breaking change
parent
b811964a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_controlnet.py
.../stable_diffusion/pipeline_stable_diffusion_controlnet.py
+2
-2
No files found.
src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_controlnet.py
View file @
807f69b3
...
...
@@ -637,8 +637,8 @@ class StableDiffusionControlNetPipeline(DiffusionPipeline, TextualInversionLoade
num_images_per_prompt
,
device
,
dtype
,
do_classifier_free_guidance
,
guess_mode
,
do_classifier_free_guidance
=
False
,
guess_mode
=
False
,
):
if
not
isinstance
(
image
,
torch
.
Tensor
):
if
isinstance
(
image
,
PIL
.
Image
.
Image
):
...
...
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