If you haven't already, you can install the
Transformers.js
JavaScript library from
NPM
using:
npm i @xenova/transformers
Example:
Generate English speech with
Xenova/mms-tts-eng
.
import { pipeline } from'@xenova/transformers';
// Create a text-to-speech pipelineconst synthesizer = awaitpipeline('text-to-speech', 'Xenova/mms-tts-eng', {
quantized: false, // Remove this line to use the quantized version (default)
});
// Generate speechconst output = awaitsynthesizer('Hello, my dog is cute');
console.log(output);
// {// audio: Float32Array(37888) [ ... ],// sampling_rate: 16000// }
Optionally, save the audio to a wav file (Node.js):
Note: Having a separate repo for ONNX weights is intended to be a temporary solution until WebML gains more traction. If you would like to make your models web-ready, we recommend converting to ONNX using
🤗 Optimum
and structuring your repo like this one (with ONNX weights located in a subfolder named
onnx
).
Runs of Xenova mms-tts-eng on huggingface.co
2.3K
Total runs
0
24-hour runs
-36
3-day runs
-63
7-day runs
409
30-day runs
More Information About mms-tts-eng huggingface.co Model
mms-tts-eng huggingface.co
mms-tts-eng huggingface.co is an AI model on huggingface.co that provides mms-tts-eng's model effect (), which can be used instantly with this Xenova mms-tts-eng model. huggingface.co supports a free trial of the mms-tts-eng model, and also provides paid use of the mms-tts-eng. Support call mms-tts-eng model through api, including Node.js, Python, http.
mms-tts-eng huggingface.co is an online trial and call api platform, which integrates mms-tts-eng's modeling effects, including api services, and provides a free online trial of mms-tts-eng, you can try mms-tts-eng online for free by clicking the link below.
Xenova mms-tts-eng online free url in huggingface.co:
mms-tts-eng is an open source model from GitHub that offers a free installation service, and any user can find mms-tts-eng on GitHub to install. At the same time, huggingface.co provides the effect of mms-tts-eng install, users can directly use mms-tts-eng installed effect in huggingface.co for debugging and trial. It also supports api for free installation.