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
OpenDAS
diffusers
Commits
eeb70033
Unverified
Commit
eeb70033
authored
Jun 17, 2024
by
AmosDinh
Committed by
GitHub
Jun 17, 2024
Browse files
Syntax error in readme example "pipe" -> "pipeline" (#8601)
Update controlnet.md Syntax error pipe -> pipeline
parent
c4a4750c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
docs/source/en/training/controlnet.md
docs/source/en/training/controlnet.md
+2
-2
No files found.
docs/source/en/training/controlnet.md
View file @
eeb70033
...
@@ -349,7 +349,7 @@ control_image = load_image("./conditioning_image_1.png")
...
@@ -349,7 +349,7 @@ control_image = load_image("./conditioning_image_1.png")
prompt
=
"pale golden rod circle with old lace background"
prompt
=
"pale golden rod circle with old lace background"
generator
=
torch
.
manual_seed
(
0
)
generator
=
torch
.
manual_seed
(
0
)
image
=
pipe
(
prompt
,
num_inference_steps
=
20
,
generator
=
generator
,
image
=
control_image
).
images
[
0
]
image
=
pipe
line
(
prompt
,
num_inference_steps
=
20
,
generator
=
generator
,
image
=
control_image
).
images
[
0
]
image
.
save
(
"./output.png"
)
image
.
save
(
"./output.png"
)
```
```
...
...
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