Update README.md
Browse files
README.md
CHANGED
|
@@ -14,7 +14,7 @@ import { pipeline } from '@xenova/transformers';
|
|
| 14 |
import { phonemize } from 'phonemize';
|
| 15 |
|
| 16 |
// Create a text-to-speech pipeline
|
| 17 |
-
const
|
| 18 |
synthesizer(phonemize('hello world'))
|
| 19 |
// {
|
| 20 |
// audio: Float32Array(?) [ ... ],
|
|
|
|
| 14 |
import { phonemize } from 'phonemize';
|
| 15 |
|
| 16 |
// Create a text-to-speech pipeline
|
| 17 |
+
const synthesizer = await pipeline('text-to-audio', 'BricksDisplay/vits-eng', { quantized: false });
|
| 18 |
synthesizer(phonemize('hello world'))
|
| 19 |
// {
|
| 20 |
// audio: Float32Array(?) [ ... ],
|