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
7e808e76
Unverified
Commit
7e808e76
authored
Apr 09, 2024
by
Junjie
Committed by
GitHub
Apr 08, 2024
Browse files
[Docs] fix bugs in callback docs (#7594)
parent
7e395166
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
docs/source/en/using-diffusers/callback.md
docs/source/en/using-diffusers/callback.md
+3
-3
No files found.
docs/source/en/using-diffusers/callback.md
View file @
7e808e76
...
...
@@ -148,9 +148,9 @@ pipeline = AutoPipelineForText2Image.from_pretrained(
use_safetensors
=
True
).
to
(
"cuda"
)
image
=
pipe
(
prompt
=
"A croissant shaped like a cute bear."
negative_prompt
=
"Deformed, ugly, bad anatomy"
image
=
pipe
line
(
prompt
=
"A croissant shaped like a cute bear."
,
negative_prompt
=
"Deformed, ugly, bad anatomy"
,
callback_on_step_end
=
decode_tensors
,
callback_on_step_end_tensor_inputs
=
[
"latents"
],
).
images
[
0
]
...
...
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