Spaces:
Runtime error
Runtime error
File size: 789 Bytes
43a8e28 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 |
### 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
``` |