Instructions to use codingggasdfasf/video-animator with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use codingggasdfasf/video-animator with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("codingggasdfasf/video-animator", 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
root commited on
Commit ·
28ff6fb
1
Parent(s): c5ac071
fixin gimport
Browse files- handler.py +0 -2
handler.py
CHANGED
|
@@ -20,8 +20,6 @@ from src.models.unet_3d import UNet3DConditionModel
|
|
| 20 |
from src.pipelines.pipeline_pose2vid_long import Pose2VideoPipeline
|
| 21 |
from src.utils.util import read_frames, get_fps, save_videos_grid
|
| 22 |
|
| 23 |
-
import backgroundremover
|
| 24 |
-
|
| 25 |
# import onnxruntime as ort
|
| 26 |
import gc
|
| 27 |
import subprocess
|
|
|
|
| 20 |
from src.pipelines.pipeline_pose2vid_long import Pose2VideoPipeline
|
| 21 |
from src.utils.util import read_frames, get_fps, save_videos_grid
|
| 22 |
|
|
|
|
|
|
|
| 23 |
# import onnxruntime as ort
|
| 24 |
import gc
|
| 25 |
import subprocess
|