Clone voice of a particular speaker (American English)
http://localhost:8000/synth?audio=./Input/Speech/&text=./Input/script.txt&output=./Input/Synth/
Params:
- audio: Directory for input speech. Different folders for different speakers
- text: File for text-to-speech input
- output: Directory for synthesized file
python bulk_synth.py (by default runs test_config())
https://drive.google.com/drive/folders/1y-TwiaSIFn1STJnAd1uzHwagYKyyK9PK?usp=sharing
Download the models in the link above. Copy to the project folder in the three folders: encoder, synthesizer and vocoder.
- Build docker image
docker build -t <reponame> .
e.g. docker build -t audiosynth .
- Run docker image
docker run -d -v <host_path>:/Input/Synth -p <port>:<port> --gpus all <reponame>
e.g. docker run -d -v /home/user/Downloads/VoiceClone/Input/Synth:/Input/Synth -p 8000:8000 --gpus all audiosynth