Instructions to use LuckyStyle/contrast with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use LuckyStyle/contrast 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("LuckyStyle/contrast") prompt = "synthetic material like polyester or nylon., green park setting, showcasing her happiness. She is wearing a casual, comfortable outfit: a zip-up hoodie with a maroon hood and sleeves, styled in a simple, revealing a light yellow zip-up top underneath." image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Ctrl+K
- 3.37 kB
- 17.8 MB xet
- 30.5 kB
- 33.4 kB
- 38.7 kB
- 260 kB xet
- 266 kB xet
- 252 kB xet
- 282 kB xet
- 308 kB xet
- 317 kB xet
- 307 kB xet
- 298 kB xet
- 336 kB xet
- 328 kB xet
- 261 kB xet
- 329 kB xet
- 337 kB xet
- 349 kB xet
- 307 kB xet
- 342 kB xet
- 382 kB xet
- 260 kB xet
- 266 kB xet
- 261 kB xet
- 349 kB xet
- 271 kB xet
- 307 kB xet
- 329 kB xet
- 298 kB xet
- 382 kB xet
- 342 kB xet
- 282 kB xet
- 336 kB xet
- 492 kB xet
- 308 kB xet
- 317 kB xet
- 493 kB xet
- 328 kB xet
- 307 kB xet
- 252 kB xet
- 337 kB xet
- 3.59 kB
- 19.3 MB xet