Add audio tagging APIs for node-addon-api (#875)

This commit is contained in:
Fangjun Kuang
2024-05-14 17:32:30 +08:00
committed by GitHub
parent 388e6a98fc
commit d19f50b799
12 changed files with 520 additions and 16 deletions

View File

@@ -33,6 +33,11 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
- name: Update pip
shell: bash
run: |
pip install -U pip
- uses: actions/setup-node@v4
with:
registry-url: 'https://registry.npmjs.org'

View File

@@ -55,7 +55,7 @@ jobs:
SHERPA_ONNX_VERSION=$(grep "SHERPA_ONNX_VERSION" ./CMakeLists.txt | cut -d " " -f 2 | cut -d '"' -f 2)
echo "SHERPA_ONNX_VERSION $SHERPA_ONNX_VERSION"
# SHERPA_ONNX_VERSION=1.0.21
# SHERPA_ONNX_VERSION=1.0.22
src_dir=.github/scripts/node-addon
sed -i.bak s/SHERPA_ONNX_VERSION/$SHERPA_ONNX_VERSION/g $src_dir/package.json