coqui-tts/TTS/server
Enno Hermann 6a52c8a855 fix(bin): log to stdout in cli tools, unless pipe_out is set
This way the outputs are available for further downstream processing, e.g. with
grep. For TTS/bin/synthesize.py, if --pipe_out is set, log to stderr because
then only the output audio stream should be on stdout, e.g. to pipe it to aplay.
2024-12-17 11:38:39 +01:00
..
static Merge branch 'dev' of https://github.com/coqui-ai/TTS into dev 2021-03-08 15:21:06 +01:00
templates style: run pre-commit 2024-05-08 12:17:47 +02:00
README.md fix(bin.synthesize): correctly handle boolean arguments 2024-05-31 08:39:32 +02:00
__init__.py rename the project to old TTS 2020-09-09 12:27:23 +02:00
conf.json Update model file extension (#1422) 2022-03-22 17:55:00 +01:00
server.py fix(bin): log to stdout in cli tools, unless pipe_out is set 2024-12-17 11:38:39 +01:00

README.md

🐸 TTS demo server

Before you use the server, make sure you install) 🐸 TTS properly and install the additional dependencies with pip install coqui-tts[server]. Then, you can follow the steps below.

Note: If you install 🐸TTS using pip, you can also use the tts-server end point on the terminal.

Examples runs:

List officially released models. python TTS/server/server.py --list_models

Run the server with the official models. python TTS/server/server.py --model_name tts_models/en/ljspeech/tacotron2-DCA --vocoder_name vocoder_models/en/ljspeech/multiband-melgan

Run the server with the official models on a GPU. CUDA_VISIBLE_DEVICES="0" python TTS/server/server.py --model_name tts_models/en/ljspeech/tacotron2-DCA --vocoder_name vocoder_models/en/ljspeech/multiband-melgan --use_cuda

Run the server with a custom models. python TTS/server/server.py --tts_checkpoint /path/to/tts/model.pth --tts_config /path/to/tts/config.json --vocoder_checkpoint /path/to/vocoder/model.pth --vocoder_config /path/to/vocoder/config.json