hans00 commited on
Commit
83f485a
·
verified ·
1 Parent(s): 2a5c81c

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +20 -0
README.md CHANGED
@@ -1,3 +1,23 @@
1
  ---
2
  license: mit
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: mit
3
+ datasets:
4
+ - lj_speech
5
+ language:
6
+ - en
7
+ library_name: transformers.js
8
  ---
9
+
10
+ ## Usage
11
+
12
+ ```js
13
+ import { pipeline } from '@xenova/transformers';
14
+ import { phonemize } from 'phonemize';
15
+
16
+ // Create a text-to-speech pipeline
17
+ const pipe = await synthesizer('text-to-audio', 'BricksDisplay/vits-eng', { quantized: false });
18
+ synthesizer(phonemize('hello world'))
19
+ // {
20
+ // audio: Float32Array(?) [ ... ],
21
+ // sampling_rate: 16000
22
+ // }
23
+ ```