Instructions to use Lorenzob/astra with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Lorenzob/astra with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Lorenzob/astra", torch_dtype=torch.bfloat16, device_map="cuda") prompt = "My name is Julien and I like to" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Ctrl+K
- 41 Bytes
- 40 Bytes
- 43 Bytes
- 16.4 kB
- 615 Bytes
- 113 Bytes
- 9.96 kB
- 524 Bytes
- 151 Bytes
- 155 Bytes
- 37 Bytes
- 41 Bytes
- 40 Bytes
- 36 Bytes
- 40 Bytes
- 38 Bytes
- 83 Bytes
- 151 Bytes
- 157 Bytes
- 160 Bytes
- 168 Bytes
- 161 Bytes
- 164 Bytes
- 172 Bytes
- 169 Bytes
- 165 Bytes
- 35 Bytes
- 35 Bytes
- 149 Bytes
- 159 Bytes
- 157 Bytes
- 153 Bytes
- 159 Bytes
- 159 Bytes
- 191 Bytes
- 193 Bytes
- 163 Bytes
- 153 Bytes
- 183 Bytes
- 155 Bytes
- 155 Bytes
- 183 Bytes
- 191 Bytes
- 171 Bytes
- 163 Bytes
- 88 Bytes
- 185 Bytes
- 187 Bytes
- 38 Bytes
- 41 Bytes