Add JavaScript (WebAssembly) API for Kokoro TTS models. (#1726)

This commit is contained in:
Fangjun Kuang
2025-01-17 11:17:18 +08:00
committed by GitHub
parent e8d499d218
commit 3a1de0bfc1
5 changed files with 154 additions and 6 deletions

View File

@@ -10,7 +10,15 @@ ls -lh
ls -lh node_modules
# offline tts
#
curl -SL -O https://github.com/k2-fsa/sherpa-onnx/releases/download/tts-models/kokoro-en-v0_19.tar.bz2
tar xf kokoro-en-v0_19.tar.bz2
rm kokoro-en-v0_19.tar.bz2
node ./test-offline-tts-kokoro-en.js
ls -lh
curl -SL -O https://github.com/k2-fsa/sherpa-onnx/releases/download/tts-models/matcha-icefall-zh-baker.tar.bz2
tar xvf matcha-icefall-zh-baker.tar.bz2
rm matcha-icefall-zh-baker.tar.bz2