---
title: OpenMusic_demo
canonical_url: "https://www.modelscope.cn/studios/paper_author_team/OpenMusic_demo"
md_url: "https://www.modelscope.cn/studios/paper_author_team/OpenMusic_demo.md"
repository: paper_author_team/OpenMusic_demo
chinese_name: OpenMusic
last_updated: 2024-10-09
sdk_type: gradio
sdk_version: 4.38.1
downloads: 0
stars: 5
---

# OpenMusic_demo

> OpenMusic_demo - paper_author_team 在 ModelScope 创建的在线 Demo。Gradio Composite Demo

paper_author_team/OpenMusic_demo 是 ModelScope 魔搭社区上的在线可交互 Demo（创空间），基于 gradio 4.38.1 构建，中文名为「OpenMusic」。

- **Repository**: paper_author_team/OpenMusic_demo
- **SDK**: gradio
- **SDK version**: 4.38.1
- **Downloads**: 0
- **Stars**: 5
- **Last updated**: 2024-10-09

Source: https://www.modelscope.cn/studios/paper_author_team/OpenMusic_demo

---

# 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:

+ OPENAI_API_KEY = your_api_key
+ OPENAI_BASE_URL= your_base_url
+ GRADIO_TEMP_DIR= gradio_tmp

## Installation

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

## Running the code

```bash
python gradio_web_demo.py
```
