How to use Sri2901/Kids_5yrs_shift 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("Sri2901/Kids_5yrs_shift") prompt = "A 5-year old girl with blonde hair, standing in the middle of the frame, wearing a green knitted top with a geometric pattern and a white floral skirt with ruffled layers. she has a playful expression and is looking directly at the camera with a slight smile on her face. the background is a plain white wall with a shadow cast on it, creating a simple yet elegant atmosphere. the girl appears to be around 6 years old, with her hair styled in a neat, straight look and her eyes looking directly into the camera. her outfit consists of a sleeveless dress with a green and white geometric pattern, paired with a pair of white floral pants. the overall aesthetic of the image is playful and cheerful, with a focus on the girl's cheerful expression and the texture of her outfit." image = pipe(prompt).images[0]
The community tab is the place to discuss and collaborate with the HF community!