---
title: ChatTTS
canonical_url: "https://www.modelscope.cn/models/gggitxdx117/ChatTTS"
md_url: "https://www.modelscope.cn/models/gggitxdx117/ChatTTS.md"
repository: gggitxdx117/ChatTTS
chinese_name: "文本转语音模型"
last_updated: 2024-08-21
pipeline_tag: text-to-speech
tasks:
  - text-to-speech
downloads: 135
stars: 3
---

# ChatTTS

> ChatTTS - gggitxdx117 在 ModelScope 开源的模型。引用Github：https://github.com/CCmahua/ChatTTS-Enhanced

- **Repository**: gggitxdx117/ChatTTS
- **Tasks**: text-to-speech
- **Downloads**: 135
- **Stars**: 3
- **Last updated**: 2024-08-21

Source: https://www.modelscope.cn/models/gggitxdx117/ChatTTS

---

# 文本转语音模型

引用Github：https://github.com/CCmahua/ChatTTS-Enhanced

## 离线一键整合包
支持WIN、MAC

百度网盘

链接: https://pan.baidu.com/s/1DqvN2hHZ2uAmdjKCwKNmCQ?pwd=f5d4 提取码: f5d4

夸克网盘

链接：https://pan.quark.cn/s/4ee64af2aedb

## Linux部署

### 克隆仓库地址
```
git clone https://github.com/CCmahua/ChatTTS-Enhanced.git ./
cd ChatTTS-Enhanced
```

### 需安装conda

```
conda create -n Dlab python=3.10
conda activate Dlab
conda install pytorch==2.1.1 torchvision==0.16.1 torchaudio==2.1.1 pytorch-cuda=11.8 -c pytorch -c nvidia
```

### 安装环境依赖
```
pip install resemble-enhance
pip install -r requirements.txt
pip install WeTextProcessing
```

### 运行命令

```
python webui/webui.py
```

### 项目根目录下创建config.ini文件

```
[server]
custom_server = true
ip = 0.0.0.0
port = 8080
```

### 可修改项目根目录下的./processors/model_processor.py

- 注释第8行代码并增加指定模型目录，目录按实际保存的即可
```
    # chat.load_models()
    chat.load_models(source=local, local_path='/home/ubuntu/ChatTTS-Enhanced/model/')
```


## 感谢

- CCmahua：https://github.com/CCmahua/ChatTTS-Enhanced
- ChatTTS:https://github.com/2noise/ChatTTS
- Resemble Enhance:https://github.com/resemble-ai/resemble-enhance
- ChatTTS_colab:https://github.com/6drf21e/ChatTTS_colab
- PaddleSpeech:https://github.com/PaddlePaddle/PaddleSpeech
- ChatTTS_Speaker:https://github.com/6drf21e/ChatTTS_Speaker
- WeTextProcessing:https://github.com/wenet-e2e/WeTextProcessing
