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
e9a3911b
Unverified
Commit
e9a3911b
authored
Dec 16, 2024
by
hlky
Committed by
GitHub
Dec 16, 2024
Browse files
Fix checkpoint in CogView3PlusPipeline example (#10211)
parent
7186bb45
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/diffusers/pipelines/cogview3/pipeline_cogview3plus.py
src/diffusers/pipelines/cogview3/pipeline_cogview3plus.py
+1
-1
No files found.
src/diffusers/pipelines/cogview3/pipeline_cogview3plus.py
View file @
e9a3911b
...
...
@@ -38,7 +38,7 @@ EXAMPLE_DOC_STRING = """
>>> import torch
>>> from diffusers import CogView3PlusPipeline
>>> pipe = CogView3PlusPipeline.from_pretrained("THUDM/CogView3Plus-3B", torch_dtype=torch.bfloat16)
>>> pipe = CogView3PlusPipeline.from_pretrained("THUDM/CogView3
-
Plus-3B", torch_dtype=torch.bfloat16)
>>> pipe.to("cuda")
>>> prompt = "A photo of an astronaut riding a horse on mars"
...
...
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