transformers.js/examples/text-to-speech-client
Joshua Lochner 4a991bd911
Add support for `text-to-speech` (w/ Speecht5) (#345)
* Add vocoder to export

* Add tokenizer.json export for speecht5 models

* Update speecht5 supported models

* Create `SpeechT5Tokenizer`

* Add `ones` and `ones_like` tensor functions

* Add support for speecht5 text-to-speech

* Disambiguate `SpeechSeq2Seq` and `Seq2SeqLM`

* Create `TextToAudioPipeline`

* Add listed support for `text-to-audio` / `text-to-speech`

* Use unquantized vocoder by default

* Skip speecht5 unit tests for now

Due to bug in transformers: https://github.com/huggingface/transformers/issues/26547

* Update example pipeline output

* Create simple in-browser TTS demo

* Add template README

* Delete package-lock.json

* Update required transformers.js version

* Add link to Transformers.js

* Double -> Single quotes

* Add link to text-to-speech demo

* Update sample speaker embeddings
2023-10-23 16:31:46 +02:00
..
src Add support for `text-to-speech` (w/ Speecht5) (#345) 2023-10-23 16:31:46 +02:00
.eslintrc.cjs Add support for `text-to-speech` (w/ Speecht5) (#345) 2023-10-23 16:31:46 +02:00
.gitignore Add support for `text-to-speech` (w/ Speecht5) (#345) 2023-10-23 16:31:46 +02:00
README.md Add support for `text-to-speech` (w/ Speecht5) (#345) 2023-10-23 16:31:46 +02:00
index.html Add support for `text-to-speech` (w/ Speecht5) (#345) 2023-10-23 16:31:46 +02:00
package.json Add support for `text-to-speech` (w/ Speecht5) (#345) 2023-10-23 16:31:46 +02:00
postcss.config.js Add support for `text-to-speech` (w/ Speecht5) (#345) 2023-10-23 16:31:46 +02:00
tailwind.config.js Add support for `text-to-speech` (w/ Speecht5) (#345) 2023-10-23 16:31:46 +02:00
vite.config.js Add support for `text-to-speech` (w/ Speecht5) (#345) 2023-10-23 16:31:46 +02:00

README.md

React + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available: