neonwatty commited on
Commit
92a92b5
·
verified ·
1 Parent(s): c7aa283

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +5 -5
README.md CHANGED
@@ -1,12 +1,12 @@
1
  ---
2
- base_model: facebook/mms-tts-fra
3
  library_name: transformers.js
4
  pipeline_tag: text-to-speech
5
  tags:
6
  - text-to-audio
7
  ---
8
 
9
- https://huggingface.co/facebook/mms-tts-fra with ONNX weights to be compatible with Transformers.js.
10
 
11
  ## Usage (Transformers.js)
12
 
@@ -15,17 +15,17 @@ If you haven't already, you can install the [Transformers.js](https://huggingfac
15
  npm i @xenova/transformers
16
  ```
17
 
18
- **Example:** Generate French speech with `Xenova/mms-tts-fra`.
19
  ```js
20
  import { pipeline } from '@xenova/transformers';
21
 
22
  // Create a text-to-speech pipeline
23
- const synthesizer = await pipeline('text-to-speech', 'Xenova/mms-tts-fra', {
24
  quantized: false, // Remove this line to use the quantized version (default)
25
  });
26
 
27
  // Generate speech
28
- const output = await synthesizer('Bonjour');
29
  console.log(output);
30
  // {
31
  // audio: Float32Array(17152) [ ... ],
 
1
  ---
2
+ base_model: facebook/mms-tts-mlg
3
  library_name: transformers.js
4
  pipeline_tag: text-to-speech
5
  tags:
6
  - text-to-audio
7
  ---
8
 
9
+ https://huggingface.co/facebook/mms-tts-mlg with ONNX weights to be compatible with Transformers.js.
10
 
11
  ## Usage (Transformers.js)
12
 
 
15
  npm i @xenova/transformers
16
  ```
17
 
18
+ **Example:** Generate Malagasy speech with `Xenova/mms-tts-fra`.
19
  ```js
20
  import { pipeline } from '@xenova/transformers';
21
 
22
  // Create a text-to-speech pipeline
23
+ const synthesizer = await pipeline('text-to-speech', 'neonwatty/mms-tts-mlg-onnx', {
24
  quantized: false, // Remove this line to use the quantized version (default)
25
  });
26
 
27
  // Generate speech
28
+ const output = await synthesizer('Salama');
29
  console.log(output);
30
  // {
31
  // audio: Float32Array(17152) [ ... ],