Add C API for audio tagging (#754)

This commit is contained in:
Fangjun Kuang
2024-04-11 14:18:43 +08:00
committed by GitHub
parent 34d70a259f
commit f204e62b44
9 changed files with 289 additions and 36 deletions

View File

@@ -72,6 +72,17 @@ jobs:
ls -lh ./bin/Release/sherpa-onnx.exe
- name: Test C API
shell: bash
run: |
export PATH=$PWD/build/bin/Release:$PATH
export SLID_EXE=spoken-language-identification-c-api.exe
export SID_EXE=speaker-identification-c-api.exe
export AT_EXE=audio-tagging-c-api.exe
.github/scripts/test-c-api.sh
- name: Test Audio tagging
shell: bash
run: |
@@ -80,15 +91,6 @@ jobs:
.github/scripts/test-audio-tagging.sh
- name: Test C API
shell: bash
run: |
export PATH=$PWD/build/bin/Release:$PATH
export SLID_EXE=spoken-language-identification-c-api.exe
export SID_EXE=speaker-identification-c-api.exe
.github/scripts/test-c-api.sh
- name: Test spoken language identification (C++ API)
shell: bash
run: |