Diffusers How to use Seanwang1221/Yangmi_SD15_FLUX 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("Seanwang1221/Yangmi_SD15_FLUX")
prompt = "YM, (Candid photography:1.3), face and cleavage closeup from above, A beautiful supermarket, a blushed smiling brunette freckled Woman in high wooly stockings and very short skirt standing at a candy shelf on tiptoes, colorful knitted sweater, cleavage, looking up, messy hairbun, infront of the atmospheric led-adverstisment, crepuscular rays, volumetric lighting, ultra detailed, deep Blacks, very detailed, atmospheric haze, Film grain, cinematic film still, shallow depth of field, highly detailed, high budget, cinemascope, moody, epic, OverallDetail, 2000s vintage RAW photo, photorealistic, candid camera, color graded cinematic, eye catchlights, atmospheric lighting, imperfections, natural, shallow dof,undefined"
image = pipe(prompt).images[0]