Instructions to use Galaxy67/instructPix2Pix-cs with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Galaxy67/instructPix2Pix-cs with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Galaxy67/instructPix2Pix-cs", 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
Ctrl+K
- 273 kB
- 278 kB
- 292 kB
- 306 kB
- 266 kB
- 263 kB
- 265 kB
- 267 kB
- 257 kB
- 255 kB
- 257 kB
- 258 kB
- 256 kB
- 257 kB
- 258 kB
- 257 kB
- 253 kB
- 256 kB
- 253 kB
- 262 kB
- 254 kB
- 263 kB
- 267 kB
- 262 kB
- 261 kB
- 264 kB
- 265 kB
- 259 kB
- 254 kB
- 257 kB
- 252 kB
- 257 kB
- 250 kB
- 249 kB
- 254 kB
- 255 kB
- 263 kB
- 261 kB
- 263 kB
- 259 kB
- 260 kB
- 256 kB
- 258 kB
- 261 kB
- 261 kB
- 269 kB
- 263 kB
- 267 kB
- 258 kB
- 258 kB