Skip to content

本地部署

本地部署运行

只是想尝试一下?跳到 《远程部署》 章节

配置要求

  • 操作系统: Windows10+MacOS 11+Debian12+ 系统
  • 支持架构: windows.x86_64linux.x86_64darwin_x86_64
  • 建议最低 CPU: 4核 或以上,内存 8G 或以上,显卡非必须支持 cpucuda

前提条件

  • 请确保你的 网络 是正常的,VPN需要打开全局流量模式
  • Conda 安装不要使用 中文路径,或 空格路径 避免出现一些无法预料的问题

TIP

虚拟环境配置见 《准备工作》 章节

安装步骤

1. 克隆下载

bash
git clone https://github.com/xiesx123/CreatorBox.git

2.创建虚拟环境

bash
conda create --name creatorbox python=3.11.11

3.激活虚拟环境

bash
conda activate creatorbox

4.安装依赖

bash
# 项目依赖
pip install -r src/support/third_party/cosyvoice/requirements.txt
bash
pip install -r requirements.txt

5.启动运行

bash
# Windows 系统可直接双击 run.bat
python run.py

访问界面

  • 本机访问 http://127.0.0.1:8000

  • 内外访问 http://172.18.0.1:8000 以实际为准👇

    log
     _____                _            ______
    /  __ \              | |           | ___ \
    | /  \/_ __ ___  __ _| |_ ___  _ __| |_/ / _____  __
    | |   | '__/ _ \/ _` | __/ _ \| '__| ___ \/ _ \ \/ /
    | \__/\ | |  __/ (_| | || (_) | |  | |_/ / (_) >  < 
     \____/_|  \___|\__,_|\__\___/|_|  \____/ \___/_/\_\   v1.0.6
    
    2025-03-27 11:34:52.458 | INFO 1496 task.py:18 - Startup Scheduler 1 Job Completed.
    2025-03-27 11:34:52.458 | INFO 1496 main.py:84 - Started CreatorBox Run Debug Success (6.16 seconds)
    2025-03-27 11:34:52.459 | INFO 1496 main.py:85 - http://172.18.0.1:8000