Instructions to use jadechoghari/VidToMe with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use jadechoghari/VidToMe with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("jadechoghari/VidToMe", 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 invert.py
Browse files
invert.py
CHANGED
|
@@ -4,7 +4,7 @@ from tqdm import tqdm
|
|
| 4 |
import os
|
| 5 |
from transformers import logging
|
| 6 |
|
| 7 |
-
from .
|
| 8 |
from .utils import get_controlnet_kwargs, get_latents_dir, init_model, seed_everything
|
| 9 |
from .utils import load_video, prepare_depth, save_frames, control_preprocess
|
| 10 |
|
|
|
|
| 4 |
import os
|
| 5 |
from transformers import logging
|
| 6 |
|
| 7 |
+
from .config_utils import load_config, save_config
|
| 8 |
from .utils import get_controlnet_kwargs, get_latents_dir, init_model, seed_everything
|
| 9 |
from .utils import load_video, prepare_depth, save_frames, control_preprocess
|
| 10 |
|