Diffusers How to use YuLexuan30/YuLexuanLora with Diffusers:
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("LyliaEngine/Pony_Diffusion_V6_XL", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("YuLexuan30/YuLexuanLora")
prompt = "score_9, score_8_up, score_7_up, 1boy, outdoors, from above, east asian architecture, wide sleeves, long sleeves, blue hanfu, toned, long hair, brown hair, standing, yulexuanb, single bun, bun cover, detailed realistic photo, <lora:yulexuanbluesdxlponyv1:0.85>"
image = pipe(prompt).images[0]