17 lines
504 B
Bash
Executable File
17 lines
504 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -ex
|
|
|
|
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
|
|
rm kokoro-en-v0_19.tar.bz2
|
|
fi
|
|
|
|
dotnet run
|