Diffusers How to use MidnightRunner/Pear with Diffusers:
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("runwayml/stable-diffusion-v1-5", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("MidnightRunner/Pear")
prompt = "(a beautiful woman:1.5), (looking straight at the camera:1.3), hazel eye color, sweat, trembling, blush, a woman with black hair, black manicure, (goosebumps:1.2), skin pores, sweat, raytracing, specular lighting, shallow depth of field, 1girl, smiling, dimples, long voluminous hair, beautiful, from below, (looking at the viewer), (in frame), bare shoulders"
image = pipe(prompt).images[0]