Add Flush to VAD so that the last segment can be detected. (#1099)
This commit is contained in:
14
.github/workflows/dot-net.yaml
vendored
14
.github/workflows/dot-net.yaml
vendored
@@ -52,11 +52,6 @@ jobs:
|
||||
cmake --build . --target install --config Release
|
||||
rm -rf install/pkgconfig
|
||||
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: windows-${{ matrix.arch }}
|
||||
path: ./build/install/lib/
|
||||
|
||||
- name: Create tar file
|
||||
shell: bash
|
||||
run: |
|
||||
@@ -72,6 +67,11 @@ jobs:
|
||||
ls -lh *.tar.bz2
|
||||
mv *.tar.bz2 ../
|
||||
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: windows-${{ matrix.arch }}
|
||||
path: ./*.tar.bz2
|
||||
|
||||
# https://huggingface.co/docs/hub/spaces-github-actions
|
||||
- name: Publish to huggingface
|
||||
if: (github.repository_owner == 'csukuangfj' || github.repository_owner == 'k2-fsa') && (github.event_name == 'push' || github.event_name == 'workflow_dispatch')
|
||||
@@ -88,7 +88,9 @@ jobs:
|
||||
|
||||
rm -rf huggingface
|
||||
export GIT_CLONE_PROTECTION_ACTIVE=false
|
||||
GIT_LFS_SKIP_SMUDGE=1 git clone https://huggingface.co/csukuangfj/sherpa-onnx-libs huggingface
|
||||
export GIT_LFS_SKIP_SMUDGE=1
|
||||
|
||||
git clone https://huggingface.co/csukuangfj/sherpa-onnx-libs huggingface
|
||||
|
||||
cd huggingface
|
||||
mkdir -p windows-for-dotnet
|
||||
|
||||
Reference in New Issue
Block a user