--- tags: - audio - text-to-speech - onnx inference: false language: en datasets: - ljspeech license: apache-2.0 --- # ESPnet VITS Text-to-Speech (TTS) Model for ONNX [espnet/kan-bayashi_ljspeech_vits](https://huggingface.co/espnet/kan-bayashi_ljspeech_vits). This model is an ONNX export using the [espnet_onnx](https://github.com/espnet/espnet_onnx) library. ## Usage with txtai txtai has a built in Text to Speech (TTS) pipeline that makes using this model easy. ```python ``` ## Usage with ONNX This model can also be run directly with ONNX provided the input text is tokenized. Tokenization can be done with [ttstokenizer](https://github.com/neuml/ttstokenizer). ```python ``` ## How to export More information on how to export ESPnet models to ONNX can be [found here](https://github.com/espnet/espnet_onnx#text2speech-inference).