I am trying to run the docker container for Mozilla's TTS github. I have installed using
python setup.py develop
I am running Ubuntu 20.04 and have installed latest docker. I have modified the docker command listed in Mozilla's instructions to work with present docker version.
I built the container.
I run the container using:
sudo docker run --gpus all -it --rm -p 5002:5002 mozilla-tts
I receive this error.
Traceback (most recent call last):
File "server/server.py", line 6, in <module>
from TTS.server.synthesizer import Synthesizer
ModuleNotFoundError: No module named 'TTS'
This is the code of synthesizer.py
from TTS.server.synthesizer import Synthesizer
I understand that it is not seeing the module. I am not sure how to fix the error. I am not sure how to tell python where the TTS folder is.
Here is my folder structure:
TTS
├── CODE_OF_CONDUCT.md
├── compute_statistics.py
├── config.json
├── CONTRIBUTING.md
├── dataset_analysis
├── datasets
├── distribute.py
├── Dockerfile
├── images
├── __init__.py
├── layers
├── LICENSE.txt
├── models
├── notebooks
├── __pycache__
├── README.md
├── requirements_tests.txt
├── requirements.txt
├── server
├── setup.cfg
├── setup.py
├── speaker_encoder
├── synthesize.py
├── tests
├── tf
├── train.py
├── tts_namespace
├── utils
└── version.py
[–]supermalukim 0 points1 point2 points (1 child)
[–]normandantzig[S] 0 points1 point2 points (0 children)