Add Java and Koltin API for Kokoro TTS 1.0 (#1798)

This commit is contained in:
Fangjun Kuang
2025-02-07 09:59:27 +08:00
committed by GitHub
parent c84a833863
commit 4372a7a7b0
9 changed files with 171 additions and 3 deletions

View File

@@ -115,6 +115,12 @@ function testTts() {
curl -SL -O https://github.com/k2-fsa/sherpa-onnx/releases/download/vocoder-models/hifigan_v2.onnx
fi
if [ ! -f ./kokoro-multi-lang-v1_0/model.onnx ]; then
curl -SL -O https://github.com/k2-fsa/sherpa-onnx/releases/download/tts-models/kokoro-multi-lang-v1_0.tar.bz2
tar xf kokoro-multi-lang-v1_0.tar.bz2
rm kokoro-multi-lang-v1_0.tar.bz2
fi
if [ ! -f ./kokoro-en-v0_19/model.onnx ]; then
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