Diffusers How to use fatique/polybotstrainer 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("fatique/polybotstrainer")
prompt = "(best quality:1.2), trainer,1boy, :d, brown eyes, brown hair, clenched hands, full body, hood, hood down, hooded jacket, hooded sweater, hoodie, looking at viewer, male focus, open mouth, pants, red footwear, red hoodie, shoes, short hair, smile, solo, standing, teeth, white background"
image = pipe(prompt).images[0]