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