conda create -n tts python=3.10.10
conda activate tts
pip install -r requirements.txt
python -m nltk.downloader punkt
cd src
python main.py
docker build -t opendan-tts-server -f Dockerfile_with_model.
docker run -d --name tts-server -p 6006:6006 opendan-tts-server
If you don't want to build image, you can use public image synthintel2/opendan-tts-server:with_model
.
docker pull synthintel2/opendan-tts-server::with_model
docker run -d --name tts-server -p 6006:6006 synthintel2/opendan-tts-server:with_model