Instructions to use Sri2901/Kids_5yrs_shift with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
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] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
Ctrl+K
- 83.1 kB
- 84.1 kB
- 82.3 kB
- 61 kB
- 80.3 kB
- 83.4 kB
- 67 kB
- 80.7 kB
- 77.1 kB
- 73.9 kB
- 95.4 kB
- 98.7 kB
- 92.2 kB
- 80.8 kB
- 92.3 kB
- 92.2 kB
- 101 kB xet
- 76.3 kB
- 64.7 kB
- 94.5 kB
- 87.3 kB
- 77.3 kB
- 98.3 kB
- 66 kB
- 101 kB xet
- 68.1 kB
- 66.8 kB
- 90.2 kB
- 61.5 kB
- 74.2 kB
- 83.5 kB
- 80.9 kB
- 81.4 kB
- 69 kB
- 84.2 kB
- 92.7 kB
- 86.6 kB
- 108 kB xet
- 82 kB
- 93.1 kB
- 94.1 kB
- 95.6 kB
- 96.1 kB
- 87.6 kB
- 94.7 kB