File size: 1,176 Bytes
8f538ef
6f45e83
1aceaa0
 
 
8f538ef
60fa594
 
1aceaa0
8f538ef
1aceaa0
6f45e83
 
1aceaa0
 
 
 
 
 
8f538ef
 
1aceaa0
 
6f45e83
1aceaa0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ed512fd
 
ca20dc8
ed512fd
ca20dc8
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
---
title: CogVideoX-5B-24frames_20steps-low_vram
emoji: 🎥
colorFrom: yellow
colorTo: blue
sdk: gradio
sdk_version: 5.10.0
python_version: 3.10
app_port: 7860
app_file: app.py
models:
  - THUDM/CogVideoX-5b
  - THUDM/CogVideoX-5b-I2V
tags:
  - cogvideox
  - video-generation
  - thudm
short_description: Text-to-Video
disable_embedding: false
---

# Gradio Composite Demo

This Gradio demo integrates the CogVideoX-5B model, allowing you to perform video inference directly in your browser. It
supports features like UpScale, RIFE, and other functionalities.

## Environment Setup

Set the following environment variables in your system:

+ GRADIO_TEMP_DIR= gradio_tmp

## Installation

```bash
pip install -r requirements.txt 
```

## Running the code

```bash
python gradio_web_demo.py
```

## Citation

```
@article{yang2024cogvideox,
  title={CogVideoX: Text-to-Video Diffusion Models with An Expert Transformer},
  author={Yang, Zhuoyi and Teng, Jiayan and Zheng, Wendi and Ding, Ming and Huang, Shiyu and Xu, Jiazheng and Yang, Yuanming and Hong, Wenyi and Zhang, Xiaohan and Feng, Guanyu and others},
  journal={arXiv preprint arXiv:2408.06072},
  year={2024}
}
```