Instructions to use minpeter/soldier-sketch with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use minpeter/soldier-sketch 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("minpeter/soldier-sketch") prompt = "ss, a detailed sketch of a soldier in a helmet holding a modern rifle against a stark white background." image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
Ctrl+K
- 255 kB xet
- 368 kB xet
- 135 kB xet
- 233 kB xet
- 390 kB xet
- 116 kB xet
- 181 kB xet
- 361 kB xet
- 133 kB xet
- 195 kB xet
- 387 kB xet
- 172 kB xet
- 201 kB xet
- 323 kB xet
- 141 kB xet
- 129 kB xet
- 150 kB xet
- 115 kB xet
- 145 kB xet
- 21.8 kB
- 98.6 kB
- 158 kB xet
- 33 kB
- 105 kB xet
- 123 kB xet
- 116 kB xet
- 135 kB xet
- 200 kB xet
- 152 kB xet
- 96.2 kB
- 106 kB xet
- 104 kB xet
- 77.2 kB
- 154 kB xet
- 141 kB xet
- 110 kB xet
- 149 kB xet
- 181 kB xet
- 122 kB xet
- 140 kB xet
- 166 kB xet
- 149 kB xet
- 162 kB xet
- 144 kB xet
- 162 kB xet
- 189 kB xet
- 208 kB xet
- 156 kB xet
- 178 kB xet
- 208 kB xet