Instructions to use serbdev/another-lora-2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use serbdev/another-lora-2 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-schnell", torch_dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("serbdev/another-lora-2") prompt = "p3rs0n a man walking his dog on a leash, holding a magnifying glass in his hand. He is wearing a blue shirt and jeans, and has a determined expression on his face. The dog is a medium-sized breed with a white and brown coat. The background of the image is a bright blue sky with white clouds. --d 40" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Ctrl+K
- 156 kB
- 177 kB
- 182 kB
- 205 kB
- 239 kB
- 183 kB
- 195 kB
- 208 kB
- 235 kB
- 212 kB
- 142 kB
- 155 kB
- 140 kB
- 143 kB
- 156 kB
- 140 kB
- 158 kB
- 168 kB
- 170 kB
- 167 kB
- 143 kB
- 161 kB
- 158 kB
- 167 kB
- 204 kB
- 133 kB
- 153 kB
- 147 kB
- 146 kB
- 168 kB
- 114 kB
- 135 kB
- 144 kB
- 144 kB
- 158 kB
- 152 kB
- 179 kB
- 161 kB
- 196 kB
- 197 kB
- 142 kB
- 160 kB
- 159 kB
- 188 kB
- 186 kB
- 125 kB
- 157 kB
- 157 kB
- 171 kB
- 196 kB