Instructions to use zai-org/CogVideoX-5b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use zai-org/CogVideoX-5b with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("zai-org/CogVideoX-5b", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
Update README.md
#31
by Fernando9010 - opened
README.md
CHANGED
|
@@ -44,7 +44,7 @@ inference: false
|
|
| 44 |
.video-item {
|
| 45 |
width: 45%;
|
| 46 |
margin-bottom: 20px;
|
| 47 |
-
transition: transform
|
| 48 |
}
|
| 49 |
.video-item:hover {
|
| 50 |
transform: scale(1.1);
|
|
|
|
| 44 |
.video-item {
|
| 45 |
width: 45%;
|
| 46 |
margin-bottom: 20px;
|
| 47 |
+
transition: transform 10.0s;
|
| 48 |
}
|
| 49 |
.video-item:hover {
|
| 50 |
transform: scale(1.1);
|