TheDenk commited on
Commit
5e88780
1 Parent(s): 23b1d98

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +51 -49
README.md CHANGED
@@ -1,49 +1,51 @@
1
- ---
2
- license: apache-2.0
3
- language:
4
- - en
5
- tags:
6
- - cogvideox
7
- - video-generation
8
- - image-to-video
9
- - diffusers
10
- ---
11
-
12
- # cogvideox-2b-img2vid
13
-
14
- ### How to
15
- Clone repo
16
- ```bash
17
- git clone https://github.com/Nim-Video/cogvideox-2b-img2vid.git
18
- cd cogvideox-2b-img2vid
19
- ```
20
-
21
- Create venv
22
- ```bash
23
- python -m venv venv
24
- source venv/bin/activate
25
- ```
26
-
27
- Install requirements
28
- ```bash
29
- pip install -r requirements.txt
30
- ```
31
-
32
- ### Simple examples
33
- #### Inference with cli
34
- ```bash
35
- python -m inference.cli_demo \
36
- --video_path "resources/truck.jpg" \
37
- --prompt "A truck is driving through a dirt road, showcasing its capability for off-roading." \
38
- --model_path NimVideo/cogvideox-2b-img2vid
39
- ```
40
-
41
- #### Inference with Gradio
42
- ```bash
43
- python -m inference.gradio_web_demo \
44
- --model_path NimVideo/cogvideox-2b-img2vid
45
- ```
46
-
47
- ## Acknowledgements
48
- Original code and models [CogVideoX](https://github.com/THUDM/CogVideo/tree/main).
49
-
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ language:
4
+ - en
5
+ tags:
6
+ - cogvideox
7
+ - video-generation
8
+ - image-to-video
9
+ - diffusers
10
+ ---
11
+
12
+ # cogvideox-2b-img2vid
13
+
14
+ <video controls autoplay src="https://cdn-uploads.huggingface.co/production/uploads/63fde49f6315a264aba6a7ed/8vOYgS-Wm51BgOKv4Jnpp.mp4"></video>
15
+
16
+ ### How to
17
+ Clone repo
18
+ ```bash
19
+ git clone https://github.com/Nim-Video/cogvideox-2b-img2vid.git
20
+ cd cogvideox-2b-img2vid
21
+ ```
22
+
23
+ Create venv
24
+ ```bash
25
+ python -m venv venv
26
+ source venv/bin/activate
27
+ ```
28
+
29
+ Install requirements
30
+ ```bash
31
+ pip install -r requirements.txt
32
+ ```
33
+
34
+ ### Simple examples
35
+ #### Inference with cli
36
+ ```bash
37
+ python -m inference.cli_demo \
38
+ --video_path "resources/truck.jpg" \
39
+ --prompt "A truck is driving through a dirt road, showcasing its capability for off-roading." \
40
+ --model_path NimVideo/cogvideox-2b-img2vid
41
+ ```
42
+
43
+ #### Inference with Gradio
44
+ ```bash
45
+ python -m inference.gradio_web_demo \
46
+ --model_path NimVideo/cogvideox-2b-img2vid
47
+ ```
48
+
49
+ ## Acknowledgements
50
+ Original code and models [CogVideoX](https://github.com/THUDM/CogVideo/tree/main).
51
+