Diffusers How to use LyliaEngine/RSGRL2 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("LyliaEngine/RSGRL2")
prompt = "score_9, score_8_up, score_7_up, score_6_up, photo, grainy, amateur, lowres, 2000s nostalgia, webcam photo, flash, rsgrl, russian girl, cute russian girl, 1girl, solo, brown eyes, brown hair, jewelry, realistic, necklace, shirt, looking at viewer, short hair, white shirt, lips, mole, closed mouth, young"
image = pipe(prompt).images[0]