Instructions to use L1nspace/instruct-pix2pix-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use L1nspace/instruct-pix2pix-model with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("L1nspace/instruct-pix2pix-model", 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
- 125 kB xet
- 123 kB xet
- 33.3 kB
- 115 kB xet
- 33.3 kB
- 117 kB xet
- 33.3 kB
- 54 kB
- 117 kB xet
- 117 kB xet
- 93.2 kB
- 78.6 kB
- 129 kB xet
- 139 kB xet
- 33.4 kB
- 85.4 kB
- 33.4 kB
- 62.8 kB
- 70.1 kB
- 69.6 kB
- 33.4 kB
- 71.8 kB
- 33.3 kB
- 80.4 kB
- 33.4 kB
- 120 kB xet
- 103 kB xet
- 109 kB xet
- 81.8 kB
- 61.2 kB
- 55.1 kB
- 79.5 kB
- 111 kB xet
- 111 kB xet