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
1ffcc924
Unverified
Commit
1ffcc924
authored
Apr 25, 2023
by
Patrick von Platen
Committed by
GitHub
Apr 25, 2023
Browse files
Fix docs text inversion (#3166)
* Fix docs text inversion * Apply suggestions from code review
parent
730e01ec
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/diffusers/loaders.py
src/diffusers/loaders.py
+1
-1
No files found.
src/diffusers/loaders.py
View file @
1ffcc924
...
...
@@ -511,7 +511,7 @@ class TextualInversionLoaderMixin:
model_id = "runwayml/stable-diffusion-v1-5"
pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16).to("cuda")
pipe.load_textual_inversion("./charturnerv2.pt")
pipe.load_textual_inversion("./charturnerv2.pt"
, token="charturnerv2"
)
prompt = "charturnerv2, multiple views of the same character in the same outfit, a character turnaround of a woman wearing a black jacket and red shirt, best quality, intricate details."
...
...
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