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
- .ipynb_checkpoints
- 115 kB xet
- 117 kB xet
- 33.3 kB
- 137 kB xet
- 33.3 kB xet
- 119 kB xet
- 33.3 kB
- 62.5 kB
- 93.4 kB
- 99.4 kB
- 69.8 kB
- 71.8 kB
- 33.3 kB
- 80.6 kB
- 120 kB xet
- 114 kB xet
- 86.2 kB
- 73.4 kB
- 128 kB xet
- 132 kB xet
- 33.4 kB
- 66.5 kB
- 78.6 kB
- 115 kB xet
- 117 kB xet
- 117 kB xet
- 93.2 kB
- 78.6 kB
- 153 kB xet
- 124 kB xet
- 33.4 kB
- 81 kB
- 79.5 kB
- 110 kB xet
- 79.3 kB
- 79.6 kB
- 33.4 kB xet
- 131 kB xet
- 33.3 kB
- 98.2 kB
- 33.3 kB
- 74.8 kB
- 33.4 kB xet
- 108 kB xet
- 121 kB xet
- 81.8 kB
- 98.7 kB
- 98 kB
- 118 kB xet