Unverified Commit 1ffcc924 authored by Patrick von Platen's avatar Patrick von Platen Committed by GitHub
Browse files

Fix docs text inversion (#3166)

* Fix docs text inversion

* Apply suggestions from code review
parent 730e01ec
...@@ -511,7 +511,7 @@ class TextualInversionLoaderMixin: ...@@ -511,7 +511,7 @@ class TextualInversionLoaderMixin:
model_id = "runwayml/stable-diffusion-v1-5" model_id = "runwayml/stable-diffusion-v1-5"
pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16).to("cuda") 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." 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."
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment