Spaces:
Running
on
Zero
Running
on
Zero
myniu
commited on
Commit
•
8138a97
1
Parent(s):
826d651
init
Browse files
README.md
CHANGED
@@ -1,55 +1,6 @@
|
|
1 |
---
|
2 |
-
|
3 |
-
sdk_version: 4.5.0
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
We have released the Gradio demo for **Hybrid (Trajectory + Landmark)** Controls [HERE](https://huggingface.co/MyNiuuu/MOFA-Video-Hybrid)!
|
8 |
-
|
9 |
-
|
10 |
-
## Introduction
|
11 |
-
|
12 |
-
This repo provides the inference Gradio demo for Trajectory Control of MOFA-Video.
|
13 |
-
|
14 |
-
## Environment Setup
|
15 |
-
|
16 |
-
`pip install -r requirements.txt`
|
17 |
-
|
18 |
-
## Download checkpoints
|
19 |
-
|
20 |
-
1. Download the pretrained checkpoints of [SVD_xt](https://huggingface.co/stabilityai/stable-video-diffusion-img2vid-xt-1-1) from huggingface to `./ckpts`.
|
21 |
-
|
22 |
-
2. Download the checkpint of [MOFA-Adapter](https://huggingface.co/MyNiuuu/MOFA-Video-Traj) from huggingface to `./ckpts`.
|
23 |
-
|
24 |
-
The final structure of checkpoints should be:
|
25 |
-
|
26 |
-
|
27 |
-
```text
|
28 |
-
./ckpts/
|
29 |
-
|-- controlnet
|
30 |
-
| |-- config.json
|
31 |
-
| `-- diffusion_pytorch_model.safetensors
|
32 |
-
|-- stable-video-diffusion-img2vid-xt-1-1
|
33 |
-
| |-- feature_extractor
|
34 |
-
| |-- ...
|
35 |
-
| |-- image_encoder
|
36 |
-
| |-- ...
|
37 |
-
| |-- scheduler
|
38 |
-
| |-- ...
|
39 |
-
| |-- unet
|
40 |
-
| |-- ...
|
41 |
-
| |-- vae
|
42 |
-
| |-- ...
|
43 |
-
| |-- svd_xt_1_1.safetensors
|
44 |
-
| `-- model_index.json
|
45 |
-
```
|
46 |
-
|
47 |
-
## Run Gradio Demo
|
48 |
-
|
49 |
-
`python run_gradio.py`
|
50 |
-
|
51 |
-
Please refer to the instructions on the gradio interface during the inference process.
|
52 |
-
|
53 |
-
## Paper
|
54 |
-
|
55 |
-
arxiv.org/abs/2405.20222
|
|
|
1 |
---
|
2 |
+
title: Trajectory-based demo for MOFA-Video
|
3 |
+
sdk_version: "4.5.0"
|
4 |
+
app_file: app.py
|
5 |
+
pinned: false
|
6 |
+
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|