Add C# API for spoken language identification (#697)

This commit is contained in:
Fangjun Kuang
2024-03-25 18:45:09 +08:00
committed by GitHub
parent 83a10a55a5
commit 305c373107
10 changed files with 265 additions and 55 deletions

View File

@@ -0,0 +1,12 @@
#!/usr/bin/env bash
set -ex
if [ ! -d ./sherpa-onnx-whisper-tiny ]; then
curl -SL -O https://github.com/k2-fsa/sherpa-onnx/releases/download/asr-models/sherpa-onnx-whisper-tiny.tar.bz2
tar xvf sherpa-onnx-whisper-tiny.tar.bz2
rm sherpa-onnx-whisper-tiny.tar.bz2
fi
dotnet run