Diffusers How to use Seanwang1221/ChenYuqi_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/ChenYuqi_SD15_FLUX")
prompt = "CYQ, In a gritty, noir-inspired setting, a woman named CYQ, with black hair slicked back and a single, vibrant red flower tucked behind her ear, stands against the rain-splattered window of a dimly lit jazz club. Her piercing, black eyes are focused intently on the viewer, her parted lips slightly upturned in a mysterious, enigmatic smile. Her unique outfit consists of a form-fitting, midnight blue sequin dress that shimmers under the low, sultry stage lights, and a pair of sharp, silver stiletto heels. She clutches a smoky glass of amber whiskey in one hand, while her other hand casually rests on a vintage, black leather-bound notebook adorned with gold filigree. A potted fern nestled in the corner catches the last rays of sunlight filtering through the rain, casting an ethereal glow upon her angular features and adding to the dramatic, suspenseful atmosphere. The camera angle is a low, sideways shot that accentuates her statuesque figure and draws the viewer into her captivating gaze."
image = pipe(prompt).images[0]