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
a74c995e
Commit
a74c995e
authored
Aug 03, 2023
by
Patrick von Platen
Browse files
make style
parent
85aa673b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/diffusers/pipelines/controlnet/pipeline_controlnet.py
src/diffusers/pipelines/controlnet/pipeline_controlnet.py
+2
-2
No files found.
src/diffusers/pipelines/controlnet/pipeline_controlnet.py
View file @
a74c995e
...
...
@@ -563,10 +563,10 @@ class StableDiffusionControlNetPipeline(
if
not
isinstance
(
control_guidance_start
,
(
tuple
,
list
)):
control_guidance_start
=
[
control_guidance_start
]
if
not
isinstance
(
control_guidance_end
,
(
tuple
,
list
)):
control_guidance_end
=
[
control_guidance_end
]
if
len
(
control_guidance_start
)
!=
len
(
control_guidance_end
):
raise
ValueError
(
f
"`control_guidance_start` has
{
len
(
control_guidance_start
)
}
elements, but `control_guidance_end` has
{
len
(
control_guidance_end
)
}
elements. Make sure to provide the same number of elements to each list."
...
...
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