Instructions to use leemeng/danbooru_small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use leemeng/danbooru_small with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("leemeng/danbooru_small", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Ctrl+K
- 5.37 MB xet
- 5.06 MB xet
- 5.07 MB xet
- 4.73 MB xet
- 4.95 MB xet
- 4.9 MB xet
- 4.7 MB xet
- 4.76 MB xet
- 4.84 MB xet
- 4.69 MB xet
- 4.86 MB xet
- 4.7 MB xet
- 4.72 MB xet
- 4.72 MB xet
- 4.71 MB xet
- 4.79 MB xet
- 4.8 MB xet
- 4.89 MB xet
- 4.81 MB xet
- 4.82 MB xet
- 4.68 MB xet
- 4.79 MB xet
- 4.9 MB xet
- 4.75 MB xet
- 4.7 MB xet
- 4.55 MB xet
- 4.73 MB xet
- 4.87 MB xet
- 4.88 MB xet
- 4.55 MB xet
- 4.63 MB xet
- 4.5 MB xet
- 4.77 MB xet
- 4.58 MB xet
- 4.61 MB xet
- 4.84 MB xet
- 4.74 MB xet
- 4.77 MB xet
- 4.72 MB xet
- 4.74 MB xet
- 4.85 MB xet