Instructions to use rhymes-ai/Allegro with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use rhymes-ai/Allegro with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("rhymes-ai/Allegro", torch_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
Add pipeline tag
#1
by nielsr HF Staff - opened
README.md
CHANGED
|
@@ -3,6 +3,7 @@ license: apache-2.0
|
|
| 3 |
language:
|
| 4 |
- en
|
| 5 |
library_name: diffusers
|
|
|
|
| 6 |
---
|
| 7 |
<p align="center">
|
| 8 |
<img src="https://huggingface.co/rhymes-ai/Allegro/resolve/main/banner_white.gif">
|
|
|
|
| 3 |
language:
|
| 4 |
- en
|
| 5 |
library_name: diffusers
|
| 6 |
+
pipeline_tag: text-to-video
|
| 7 |
---
|
| 8 |
<p align="center">
|
| 9 |
<img src="https://huggingface.co/rhymes-ai/Allegro/resolve/main/banner_white.gif">
|