How to actually user it??
#1
by
init-tracer
- opened
apart from the obvious (using the waifu name on the promt)
how show I load the pipeline to use this modifiers?
Pipeline Loading
pipe = DiffusionPipeline.from_pretrained(
'hakurei/waifu-diffusion',
custom_pipeline="waifu-research-department/long-prompt-weighting-pipeline",
revision="fp16",
torch_dtype=torch.float16
)
Prompt
prompt = "1girl, racing uniform, blonde hair, closed mouth, earrings, green background, hat, looking at viewer, shirt, short hair, simple background, solo, upper body, yellow shirt, chisato nishikigi "
Run model
pipe.text2img(prompt, width=512,height=768,max_embeddings_multiples=3).images[0]