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
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
Hide 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"
)
```
```
...
@@ -363,4 +363,4 @@ The SDXL training script is discussed in more detail in the [SDXL training](sdxl
...
@@ -363,4 +363,4 @@ The SDXL training script is discussed in more detail in the [SDXL training](sdxl
Congratulations on training your own ControlNet! To learn more about how to use your new model, the following guides may be helpful:
Congratulations on training your own ControlNet! To learn more about how to use your new model, the following guides may be helpful:
-
Learn how to
[
use a ControlNet
](
../using-diffusers/controlnet
)
for inference on a variety of tasks.
-
Learn how to
[
use a ControlNet
](
../using-diffusers/controlnet
)
for inference on a variety of tasks.
\ No newline at end of file
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