Add C++ runtime for vocos (#2014)
This commit is contained in:
@@ -111,8 +111,8 @@ function testTts() {
|
||||
rm matcha-icefall-zh-baker.tar.bz2
|
||||
fi
|
||||
|
||||
if [ ! -f ./hifigan_v2.onnx ]; then
|
||||
curl -SL -O https://github.com/k2-fsa/sherpa-onnx/releases/download/vocoder-models/hifigan_v2.onnx
|
||||
if [ ! -f ./vocos-22khz-univ.onnx ]; then
|
||||
curl -SL -O https://github.com/k2-fsa/sherpa-onnx/releases/download/vocoder-models/vocos-22khz-univ.onnx
|
||||
fi
|
||||
|
||||
if [ ! -f ./kokoro-multi-lang-v1_0/model.onnx ]; then
|
||||
|
||||
@@ -58,7 +58,7 @@ fun testMatcha() {
|
||||
model=OfflineTtsModelConfig(
|
||||
matcha=OfflineTtsMatchaModelConfig(
|
||||
acousticModel="./matcha-icefall-zh-baker/model-steps-3.onnx",
|
||||
vocoder="./hifigan_v2.onnx",
|
||||
vocoder="./vocos-22khz-univ.onnx",
|
||||
tokens="./matcha-icefall-zh-baker/tokens.txt",
|
||||
lexicon="./matcha-icefall-zh-baker/lexicon.txt",
|
||||
dictDir="./matcha-icefall-zh-baker/dict",
|
||||
|
||||
Reference in New Issue
Block a user