Diffusers How to use mrcuddle/Character_Design_Helper with Diffusers:
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("mrcuddle/Character_Design_Helper")
prompt = "CharacterDesignFLUX,reference sheet,white background,simple background,multiple views, upper body, front, from side, color palette reference, high_detailed, captured in high detail, blond, girl, hogwarts, student, arrogant, holding hands, arrogant, diligent, serious, professionnal stance, humble stance, judgemental, hogwarts school uniform, school uniform, mean girl face, smile, woman, smiling, front side, beatrice,"
image = pipe(prompt).images[0]