Instructions to use opencerebral/Lucy with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use opencerebral/Lucy with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("opencerebral/Lucy", 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/sample_grid.png from opencerebral/Lucy: direct link, hf CLI and curl.
- Browser
- Download file 466 kB
-
https://huggingface.co/opencerebral/Lucy/resolve/main/samples/sample_grid.png
- Command line
-
hf download hf://opencerebral/Lucy/samples/sample_grid.png
-
curl -L -o sample_grid.png https://huggingface.co/opencerebral/Lucy/resolve/main/samples/sample_grid.png
466 kB

- Xet hash:
- 74078b5b894e53805dce71ea1727e0cbd840b43ca1ad71213b858ffd6970ab42
- Size of remote file:
- 466 kB
- SHA256:
- 8ad27efa4e8141ef3e671a6e57de73ecc7b19fc00938ab5d52ce946ff8a40e88
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.