vits-eng / README.md
hans00's picture
Update README.md
63736d4 verified
|
raw
history blame
445 Bytes
metadata
license: mit
datasets:
  - lj_speech
language:
  - en
library_name: transformers.js

Usage

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
// }