TheDenk commited on
Commit
02859b6
·
verified ·
1 Parent(s): 83c6b58

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +59 -56
README.md CHANGED
@@ -1,57 +1,60 @@
1
- ---
2
- license: apache-2.0
3
- language:
4
- - en
5
- tags:
6
- - cogvideox
7
- - video-generation
8
- - video-to-video
9
- - controlnet
10
- - diffusers
11
- ---
12
-
13
- # CogvideoX-5b Controlnet Extention
14
-
15
- ### How to
16
- Clone repo
17
- ```bash
18
- git clone https://github.com/TheDenk/cogvideox-controlnet.git
19
- cd cogvideox-controlnet
20
- ```
21
-
22
- Create venv
23
- ```bash
24
- python -m venv venv
25
- source venv/bin/activate
26
- ```
27
-
28
- Install requirements
29
- ```bash
30
- pip install -r requirements.txt
31
- ```
32
-
33
- ### Inference examples
34
- #### Inference with cli
35
- ```bash
36
- python -m inference.cli_demo \
37
- --video_path "resources/car.mp4" \
38
- --prompt "The camera follows behind red car. Car is surrounded by a panoramic view of the vast, azure ocean. Seagulls soar overhead, and in the distance, a lighthouse stands sentinel, its beam cutting through the twilight. The scene captures a perfect blend of adventure and serenity, with the car symbolizing freedom on the open sea." \
39
- --controlnet_type "hed" \
40
- --base_model_path THUDM/CogVideoX-5b \
41
- --controlnet_model_path TheDenk/cogvideox-5b-controlnet-hed-v1
42
- ```
43
-
44
- #### Inference with Gradio
45
- ```bash
46
- python -m inference.gradio_web_demo \
47
- --controlnet_type "hed" \
48
- --base_model_path THUDM/CogVideoX-5b \
49
- --controlnet_model_path TheDenk/cogvideox-5b-controlnet-hed-v1
50
- ```
51
-
52
-
53
- ## Acknowledgements
54
- Original code and models [CogVideoX](https://github.com/THUDM/CogVideo/tree/main).
55
-
56
- ## Contacts
 
 
 
57
  <p>Issues should be raised directly in the repository. For professional support and recommendations please <a>welcomedenk@gmail.com</a>.</p>
 
1
+ ---
2
+ license: apache-2.0
3
+ language:
4
+ - en
5
+ tags:
6
+ - cogvideox
7
+ - video-generation
8
+ - video-to-video
9
+ - controlnet
10
+ - diffusers
11
+ ---
12
+
13
+ # CogvideoX-5b Controlnet Extention
14
+
15
+
16
+ <video controls autoplay src="https://cdn-uploads.huggingface.co/production/uploads/63fde49f6315a264aba6a7ed/frns--XYMiWf0mBUI0UMK.mp4"></video>
17
+
18
+ ### How to
19
+ Clone repo
20
+ ```bash
21
+ git clone https://github.com/TheDenk/cogvideox-controlnet.git
22
+ cd cogvideox-controlnet
23
+ ```
24
+
25
+ Create venv
26
+ ```bash
27
+ python -m venv venv
28
+ source venv/bin/activate
29
+ ```
30
+
31
+ Install requirements
32
+ ```bash
33
+ pip install -r requirements.txt
34
+ ```
35
+
36
+ ### Inference examples
37
+ #### Inference with cli
38
+ ```bash
39
+ python -m inference.cli_demo \
40
+ --video_path "resources/car.mp4" \
41
+ --prompt "The camera follows behind red car. Car is surrounded by a panoramic view of the vast, azure ocean. Seagulls soar overhead, and in the distance, a lighthouse stands sentinel, its beam cutting through the twilight. The scene captures a perfect blend of adventure and serenity, with the car symbolizing freedom on the open sea." \
42
+ --controlnet_type "hed" \
43
+ --base_model_path THUDM/CogVideoX-5b \
44
+ --controlnet_model_path TheDenk/cogvideox-5b-controlnet-hed-v1
45
+ ```
46
+
47
+ #### Inference with Gradio
48
+ ```bash
49
+ python -m inference.gradio_web_demo \
50
+ --controlnet_type "hed" \
51
+ --base_model_path THUDM/CogVideoX-5b \
52
+ --controlnet_model_path TheDenk/cogvideox-5b-controlnet-hed-v1
53
+ ```
54
+
55
+
56
+ ## Acknowledgements
57
+ Original code and models [CogVideoX](https://github.com/THUDM/CogVideo/tree/main).
58
+
59
+ ## Contacts
60
  <p>Issues should be raised directly in the repository. For professional support and recommendations please <a>welcomedenk@gmail.com</a>.</p>