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
11c12566
Unverified
Commit
11c12566
authored
Nov 08, 2023
by
Kirill
Committed by
GitHub
Nov 08, 2023
Browse files
Fix the misaligned pipeline usage in dreamshaper docstrings (#5700)
Fix the misaligned pipeline usage
parent
69996938
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/diffusers/pipelines/latent_consistency_models/pipeline_latent_consistency_img2img.py
...consistency_models/pipeline_latent_consistency_img2img.py
+1
-1
No files found.
src/diffusers/pipelines/latent_consistency_models/pipeline_latent_consistency_img2img.py
View file @
11c12566
...
...
@@ -60,7 +60,7 @@ EXAMPLE_DOC_STRING = """
>>> import torch
>>> import PIL
>>> pipe =
DiffusionPipelin
e.from_pretrained("SimianLuo/LCM_Dreamshaper_v7")
>>> pipe =
AutoPipelineForImage2Imag
e.from_pretrained("SimianLuo/LCM_Dreamshaper_v7")
>>> # To save GPU memory, torch.float16 can be used, but it may compromise image quality.
>>> pipe.to(torch_device="cuda", torch_dtype=torch.float32)
...
...
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