Skip to content

Commit

Permalink
Update coqui tts install method due to transformers version
Browse files Browse the repository at this point in the history
  • Loading branch information
t41372 committed Jan 28, 2025
1 parent 8a1da4a commit d76c0de
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
5 changes: 4 additions & 1 deletion docs/user-guide/backend/tts.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,16 @@ python


## Coqui-TTS(本地部署)
:::warning 重要提示
- MeloTTS 与 Coqui-TTS 存在依赖冲突,请勿同时安装
:::

Coqui-TTS 是一个开源语音合成工具包,支持多种模型和语言。推理速度取决于所选模型的大小和复杂度。

### 安装步骤
```sh
# 安装 Coqui-TTS 及其语言支持
uv pip install "coqui-tts[languages]"
uv add transformers "coqui-tts[languages]"
```

### 模型配置
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ This package will use the default TTS engine on your system:
## MeloTTS (Local Deployment)
:::warning Important Note
- It is strongly recommended to use MeloTTS through sherpa-onnx, rather than installing the more complex official version
- MeloTTS has dependency conflicts with Coqui-TTS, please do not install them simultaneously
- MeloTTS has dependency conflicts with Coqui-TTS. Please do not install them simultaneously
- The official version of MeloTTS may encounter mps-related errors on macOS (solutions are welcome)
:::

Expand Down Expand Up @@ -75,13 +75,16 @@ python
- If encountering `mecab-python` related issues, try using this [branch](https://github.com/polm/MeloTTS) (Note: As of 2024/7/16, it has not been merged into the main branch)

## Coqui-TTS (Local Deployment)
:::warning Important Note
- Coqui-TTS has dependency conflicts with MeloTTS. Please do not install them simultaneously
:::

Coqui-TTS is an open-source speech synthesis toolkit that supports multiple models and languages. The inference speed depends on the size and complexity of the chosen model.

### Installation Steps
```sh
# Install Coqui-TTS and its language support
uv pip install "coqui-tts[languages]"
uv add transformers "coqui-tts[languages]"
```

### Model Configuration
Expand Down

0 comments on commit d76c0de

Please sign in to comment.