This repository has been archived on 2025-08-26. You can view files and clone it, but cannot push or open issues or pull requests.
Files
enginex_bi_series-sherpa-onnx/go-api-examples/speech-enhancement-gtcrn/run.sh
2025-03-11 19:33:05 +08:00

16 lines
378 B
Bash
Executable File

#!/usr/bin/env bash
set -ex
if [ ! -f ./gtcrn_simple.onnx ]; then
curl -SL -O https://github.com/k2-fsa/sherpa-onnx/releases/download/speech-enhancement-models/gtcrn_simple.onnx
fi
if [ ! -f ./inp_16k.wav ]; then
curl -SL -O https://github.com/k2-fsa/sherpa-onnx/releases/download/speech-enhancement-models/inp_16k.wav
fi
go mod tidy
go build
./speech-enhancement-gtcrn