Sign inSign up

soiqualang/vits-tts-vi

By soiqualang

Updated over 2 years ago

Text to speech (TTS) tiếng Việt

Image
Machine learning & AI
0

117

soiqualang/vits-tts-vi repository overview

vits-tts-vi

Text to speech (TTS) tiếng Việt

Overview

Nguồn: https://github.com/phatjkk/vits-tts-vietnamese/tree/main?tab=readme-ov-file

Read Project Docs: https://github.com/phatjkk/vits-tts-vietnamese/blob/main/TTS_VITS_Docs_NguyenThanhPhat.pdf

Run

On your terminal, type these commands to build a Docker Image:

docker build  ./ -f .Dockerfile -t vits-tts-vi:v1.0

Then run it with port 5004:

docker run -d -p 5004:8888 vits-tts-vi:v1.0

While the Docker Image was running, you now make a request to use the TTS task via this API on your browser.

http://localhost:5004/?text=Xin chào bạn&speed=normal

The result seems like this:

{
    "hash": "e6bc1768c82ae63ed8ee61ca2349efa4ef9f166e",
    "text": "xin chào bạn",
    "speed": "normal",
    "audio_url": "http://localhost:5004/audio/e6bc1768c82ae63ed8ee61ca2349efa4ef9f166e.wav"
}

The speed has 5 options: normalfastlowvery_fastvery_slow

Or you can use the Web UI via this URL:

http://localhost:5004/

The repo of this React Front-end: vits-tts-webapp

Tag summary

Content type

Image

Digest

sha256:686fe2ce0

Size

832.3 MB

Last updated

over 2 years ago

docker pull soiqualang/vits-tts-vi:1.0