Instructions to use KBlueLeaf/MOSS-Image-heal with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use KBlueLeaf/MOSS-Image-heal with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("KBlueLeaf/MOSS-Image-heal", 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
- Local Apps Settings
- Draw Things
- DiffusionBee
Download images/stream_per_block.webp from KBlueLeaf/MOSS-Image-heal: direct link, hf CLI and curl.
- Browser
- Download file 71.8 kB
-
https://huggingface.co/KBlueLeaf/MOSS-Image-heal/resolve/main/images/stream_per_block.webp
- Command line
-
hf download hf://KBlueLeaf/MOSS-Image-heal/images/stream_per_block.webp
-
curl -L -o stream_per_block.webp https://huggingface.co/KBlueLeaf/MOSS-Image-heal/resolve/main/images/stream_per_block.webp
71.8 kB
