How to use Seanwang1221/Dilraba_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/Dilraba_FLUX") prompt = "dilraba,A hyper-realistic portrait of 1girl with delicate facial features, captured in soft, warm lighting. she is smilig.She has smooth, flawless skin with a subtle glow, and her makeup emphasizes her natural beauty with defined eyes and soft red lips. Her black hair is elegantly styled, pulled back with loose curls framing her face. She wears intricate black lace clothing, with delicate patterns and a high collar, adding a touch of gothic elegance. The background is blurred, focusing entirely on her serene expression and the details of her attire." image = pipe(prompt).images[0]
The community tab is the place to discuss and collaborate with the HF community!