Files
OpenLLM/chattts
2024-06-04 18:57:11 +08:00
..
2024-05-31 21:19:16 +08:00
2024-06-04 18:57:11 +08:00
2024-05-31 21:19:16 +08:00
2024-05-31 22:48:13 +08:00
2024-06-04 18:57:11 +08:00
2024-05-31 21:19:16 +08:00
2024-06-04 18:57:11 +08:00

BentoChatTTS

ChatTTS is a text-to-speech model designed specifically for dialogue scenario such as LLM assistant.

Prerequisites

  • You have installed Python 3.9+ and pip. See the Python downloads page to learn more.
  • You have a basic understanding of key concepts in BentoML, such as Services. We recommend you read Quickstart first.
  • (Optional) We recommend you create a virtual environment for dependency isolation for this project. See the Conda documentation or the Python documentation for details.

Install Dependencies

pip install bentoml
pip install -r requirements.txt

If not already present, you need to install libsox-dev with your package manager first.

Run

Start a Bento server with ChatTTS.

export CHAT_TTS_REPO=https://github.com/2noise/ChatTTS.git
bentoml serve

The server is now active at http://localhost:3000. You can interact with it using the Swagger UI.

Deploy

You can deploy the ChatTTS Bento service to BentoCloud.

Sign up if you haven't got a BentoCloud account.

Make sure you have logged in to BentoCloud, then run the following command to deploy it.

bentoml deploy .