Skip to content

Docker image for Mozilla TTS server with TFLite support

License

Notifications You must be signed in to change notification settings

gundamMC/docker-mozillatts-tflite

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mozilla TTS-TFLite

Docker image for Mozilla TTS with Tensorflow Lite support based on @erogol's TFLite example and edited from synesthesiam/docker-mozillatts.

Includes TFLite-optimized versions of @erogol's pre-built LJSpeech Tacotron2 English model and Multiband MelGAN vocoder. See below for links to specific checkpoints.

Using

$ docker build -t tts .
$ docker run -it -p 5002:5002 tts

Visit http://localhost:5002 for web interface.

Do HTTP GET at http://localhost:5002/api/tts?text=your%20sentence to get WAV audio back:

$ curl -G --output - \
    --data-urlencode 'text=Welcome to the world of speech synthesis!' \
    'http://localhost:5002/api/tts' | \
    aplay

Building Yourself

The Docker image is built using the TFLite Example. You'll need to manually download the model and vocoder checkpoints/configs:

About

Docker image for Mozilla TTS server with TFLite support

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 40.3%
  • Python 33.7%
  • Shell 13.5%
  • Dockerfile 12.0%
  • Makefile 0.5%