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
| Document: python-apt-api-reference | |
| Title: Python APT: API reference manual | |
| Abstract: API reference manual for Python bindings to libapt-pkg | |
| Section: Programming/Python | |
| Format: HTML | |
| Index: /usr/share/doc/python-apt-doc/html/index.html | |
| Files: /usr/share/doc/python-apt-doc/html/* | |