Files
sherpa-onnx/rust-api-examples/run-kokoro-tts-en-phonemize.sh

11 lines
312 B
Bash
Executable File

#!/usr/bin/env bash
set -ex
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
cargo run --features phonemize --example kokoro_tts_en_phonemize