mirror of
https://github.com/huggingface/diffusers.git
synced 2026-01-29 07:22:12 +03:00
Fix docs text inversion (#3166)
* Fix docs text inversion * Apply suggestions from code review
This commit is contained in:
committed by
Daniel Gu
parent
81950af961
commit
711119ae7a
@@ -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."
|
||||
|
||||
|
||||
Reference in New Issue
Block a user