ChatTTS is a text-to-speech model designed specifically for dialogue scenario such as LLM assistant.
- 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.
pip install bentoml
pip install -r requirements.txt
If not already present, you need to install libsox-dev
with your package manager first.
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.
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 .