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
6e608d8a
Unverified
Commit
6e608d8a
authored
Oct 24, 2023
by
Kyunghwan Kim
Committed by
GitHub
Oct 23, 2023
Browse files
Fix typo in controlnet docs (#5486)
parent
33293ed5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
docs/source/en/using-diffusers/controlnet.md
docs/source/en/using-diffusers/controlnet.md
+4
-4
No files found.
docs/source/en/using-diffusers/controlnet.md
View file @
6e608d8a
...
...
@@ -351,9 +351,9 @@ prompt = "aerial view, a futuristic research complex in a bright foggy jungle, h
negative_prompt
=
'low quality, bad quality, sketches'
images
=
pipe
(
prompt
,
negative_prompt
=
negative_prompt
,
image
=
image
,
prompt
,
negative_prompt
=
negative_prompt
,
image
=
canny_
image
,
controlnet_conditioning_scale
=
0.5
,
).
images
[
0
]
images
...
...
@@ -421,7 +421,7 @@ Prepare the canny image conditioning:
```
py
from
diffusers.utils
import
load_image
from
PIL
import
Image
import
numpy
as
np
import
numpy
as
np
import
cv2
canny_image
=
load_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