Diffusers How to use saveasART/GhostCostumeTriangularHeadpiece with Diffusers:
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-2-1", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("saveasART/GhostCostumeTriangularHeadpiece")
prompt = "UNICODE1girl,solo,large breasts, ghost costume, hitodama, triangular headpiece, ,<lora:japaneseGhostCostumeTriangularHeadpiece:1> , night, tombstone, graveyard,, sleeves past fingers, long sleeves, very long sleeves, claw pose, ghost, ghost tail, pale skin, (((see-through))) silhouette, off shoulder, cleavage, no bra,"
image = pipe(prompt).images[0]