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
Download samples/step=001350.png from leemeng/danbooru_small: direct link, hf CLI and curl.
- Browser
- Download file 4.87 MB
-
https://huggingface.co/leemeng/danbooru_small/resolve/main/samples/step%3D001350.png
- Command line
-
hf download hf://leemeng/danbooru_small/samples/step=001350.png
-
curl -L -o step=001350.png https://huggingface.co/leemeng/danbooru_small/resolve/main/samples/step%3D001350.png
4.87 MB

- Xet hash:
- fa6fadfbe2d3041de6e5595ae2a5d18e4df46ed79896f220ab8e9ac4ca43b071
- Size of remote file:
- 4.87 MB
- SHA256:
- 0466db0441b0afc3601e8e3c3961d3e5ec7c746a80409500ad30787c3e6becb0
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.