dantts / README.md
imseldrith's picture
Upload 6 files
43a8e28 verified
|
raw
history blame
789 Bytes
### Manual installation using Conda
#### 1. Create a new conda environment
```
conda create -n tts python=3.10.10
conda activate tts
```
#### 2. Install requirements
```
pip install -r requirements.txt
```
#### 3. Download nltk
```
python -m nltk.downloader punkt
```
#### 4. Run Server
```
cd src
python main.py
```
### How to run in docker
#### Build image by yourself
```
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`.
#### User public image
```
docker pull synthintel2/opendan-tts-server::with_model
docker run -d --name tts-server -p 6006:6006 synthintel2/opendan-tts-server:with_model
```