Instructions to use dosh2/text-2-video with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use dosh2/text-2-video with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("dosh2/text-2-video", 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
Update scheduler/scheduler_config.json
Browse files
scheduler/scheduler_config.json
CHANGED
|
@@ -15,5 +15,6 @@
|
|
| 15 |
"skip_prk_steps": true,
|
| 16 |
"steps_offset": 1,
|
| 17 |
"thresholding": false,
|
|
|
|
| 18 |
"trained_betas": null
|
| 19 |
-
}
|
|
|
|
| 15 |
"skip_prk_steps": true,
|
| 16 |
"steps_offset": 1,
|
| 17 |
"thresholding": false,
|
| 18 |
+
"timestep_spacing": "leading",
|
| 19 |
"trained_betas": null
|
| 20 |
+
}
|