Instructions to use paint-by-inpaint/add-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use paint-by-inpaint/add-base with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("paint-by-inpaint/add-base", 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
Commit History
-
fix resources
Verified signature79753a5 -
fixed explenation about model
Verified signaturefbb858b -
Update README.md
Verified signaturefixed citationd1220ce -
Update README.md
Verified signatureupdated linkse4d4c1b -
small typos fix
Verified signature74408fe -
Wrote the readme for the model
Verified signature8f2584f
-
Update README.md
Verified signature70bd1e8
-
Upload StableDiffusionInstructPix2PixPipeline
Verified signature7e0032e -
initial commit
Verified signatureb13e9f9