Add C# API for Kokoro TTS models (#1720)

This commit is contained in:
Fangjun Kuang
2025-01-16 16:30:10 +08:00
committed by GitHub
parent 2d0869c709
commit cc812e6237
11 changed files with 381 additions and 2 deletions

View File

@@ -0,0 +1,10 @@
#!/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
dotnet run