Diffusers How to use ballsyonsui/BALLSYAI-LoRA with Diffusers:
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("rupeshs/LCM-runwayml-stable-diffusion-v1-5", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("ballsyonsui/BALLSYAI-LoRA")
prompt = "<lora:BALLSYAI-10:1> ballsyai, ballsy, cartoon style, full body, astronaut suit, space background"
image = pipe(prompt).images[0]