Instructions to use BricksDisplay/vits-eng with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use BricksDisplay/vits-eng with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('text-to-speech', 'BricksDisplay/vits-eng');
| license: mit | |
| datasets: | |
| - lj_speech | |
| language: | |
| - en | |
| library_name: transformers.js | |
| base_model: kakao-enterprise/vits-ljs | |
| pipeline_tag: text-to-speech | |
| Convert from [kakao-enterprise/vits-ljs](https://huggingface.co/kakao-enterprise/vits-ljs) | |
| ## Usage | |
| ```js | |
| import { pipeline } from '@xenova/transformers'; | |
| import { phonemize } from 'phonemize'; | |
| // Create a text-to-speech pipeline | |
| const synthesizer = await pipeline('text-to-audio', 'BricksDisplay/vits-eng', { quantized: false }); | |
| synthesizer(phonemize('hello world')) | |
| // { | |
| // audio: Float32Array(?) [ ... ], | |
| // sampling_rate: 16000 | |
| // } | |
| ``` |