a webserver for dia-1.6b TTS model
Go to file
2025-05-11 06:06:53 +00:00
app first commit 2025-05-11 06:06:53 +00:00
conf first commit 2025-05-11 06:06:53 +00:00
logs first commit 2025-05-11 06:06:53 +00:00
wwwroot/v1/generate first commit 2025-05-11 06:06:53 +00:00
README.md first commit 2025-05-11 06:06:53 +00:00

TTS小模型

依赖

模型

  1. https://github.com/descriptinc/descript-audio-codec/releases/download/0.0.1/weights.pth
  2. https://github.com/descriptinc/descript-audio-codec/releases/download/0.0.4/weights_24khz.pth
  3. https://github.com/descriptinc/descript-audio-codec/releases/download/0.0.5/weights_16khz.pth
  4. https://github.com/descriptinc/descript-audio-codec/releases/download/1.0.0/weights_44khz_16kbps.pth

模块

服务方

安装

执行以下命令

git clone https://git.kaiyuancloud.cn/yumoqing/dia16b
cd dia16b
python3 -m venv py3
source py3/bin/activate
pip install git+https://github.com/nari-labs/dia
pip install git+https://git.kaiyuancloud.cn/yumoqing/apppublic
pip install git+https://git.kaiyuancloud.cn/yumoqing/sqlor
pip install git+https://git.kaiyuancloud.cn/yumoqing/ahserver

下载依赖的模型

配置conf/config.json文件

主要修改下载模型存放目录

    "dia_model_path" : "/share/models/nari-labs/dia-1___6b",
    "dac_model_path": "/share/models/dac/weights.pth",