Toggle navigation
Toggle navigation
此项目
正在载入...
Sign in
xuning
/
sherpaonnx
转到一个项目
Toggle navigation
项目
群组
代码片段
帮助
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Fangjun Kuang
2024-02-22 09:57:05 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Committed by
GitHub
2024-02-22 09:57:05 +0800
Commit
7c22398dd834ab25b58d004820fb46e4b2b08330
7c22398d
1 parent
7c4b5993
Publish wasm tts to model scope. (#599)
隐藏空白字符变更
内嵌
并排对比
正在显示
3 个修改的文件
包含
70 行增加
和
1 行删除
.github/workflows/run-python-test.yaml
.github/workflows/wasm-simd-hf-space-de-tts.yaml
.github/workflows/wasm-simd-hf-space-en-tts.yaml
.github/workflows/run-python-test.yaml
查看文件 @
7c22398
...
...
@@ -81,5 +81,5 @@ jobs:
-
uses
:
actions/upload-artifact@v4
with
:
name
:
tts-generated-test-files-${{ matrix.os }}-${{ matrix.python-version }
name
:
tts-generated-test-files-${{ matrix.os }}-${{ matrix.python-version }
}
path
:
tts
...
...
.github/workflows/wasm-simd-hf-space-de-tts.yaml
查看文件 @
7c22398
...
...
@@ -71,6 +71,41 @@ jobs:
name
:
sherpa-onnx-wasm-simd-de-tts
path
:
./sherpa-onnx-wasm-simd-*.tar.bz2
-
name
:
Publish to ModelScope
env
:
MS_TOKEN
:
${{ secrets.MODEL_SCOPE_GIT_TOKEN }}
uses
:
nick-fields/retry@v2
with
:
max_attempts
:
20
timeout_seconds
:
200
shell
:
bash
command
:
|
SHERPA_ONNX_VERSION=v$(grep "SHERPA_ONNX_VERSION" ./CMakeLists.txt | cut -d " " -f 2 | cut -d '"' -f 2)
git config --global user.email "csukuangfj@gmail.com"
git config --global user.name "Fangjun Kuang"
rm -rf ms
export GIT_LFS_SKIP_SMUDGE=1
git clone http://www.modelscope.cn/studios/k2-fsa/web-assembly-tts-sherpa-onnx-de.git ms
cd ms
git fetch
git pull
git merge -m "merge remote" --ff origin main
cp -v ../sherpa-onnx-wasm-simd-${SHERPA_ONNX_VERSION}-de-tts/* .
git status
git lfs track "*.data"
git lfs track "*.wasm"
ls -lh
git add .
git commit -m "update model"
git push http://oauth2:${MS_TOKEN}@www.modelscope.cn/studios/k2-fsa/web-assembly-tts-sherpa-onnx-de.git
-
name
:
Publish to huggingface
env
:
HF_TOKEN
:
${{ secrets.HF_TOKEN }}
...
...
.github/workflows/wasm-simd-hf-space-en-tts.yaml
查看文件 @
7c22398
...
...
@@ -69,6 +69,40 @@ jobs:
name
:
sherpa-onnx-wasm-simd-en-tts
path
:
./sherpa-onnx-wasm-simd-*.tar.bz2
-
name
:
Publish to ModelScope
env
:
MS_TOKEN
:
${{ secrets.MODEL_SCOPE_GIT_TOKEN }}
uses
:
nick-fields/retry@v2
with
:
max_attempts
:
20
timeout_seconds
:
200
shell
:
bash
command
:
|
SHERPA_ONNX_VERSION=v$(grep "SHERPA_ONNX_VERSION" ./CMakeLists.txt | cut -d " " -f 2 | cut -d '"' -f 2)
git config --global user.email "csukuangfj@gmail.com"
git config --global user.name "Fangjun Kuang"
rm -rf ms
export GIT_LFS_SKIP_SMUDGE=1
git clone https://www.modelscope.cn/studios/k2-fsa/web-assembly-tts-sherpa-onnx-en.git ms
cd ms
git fetch
git pull
git merge -m "merge remote" --ff origin main
cp -v ../sherpa-onnx-wasm-simd-${SHERPA_ONNX_VERSION}-en-tts/* .
git status
git lfs track "*.data"
git lfs track "*.wasm"
ls -lh
git add .
git commit -m "update model"
git push https://oauth2:${MS_TOKEN}@www.modelscope.cn/studios/k2-fsa/web-assembly-tts-sherpa-onnx-en.git
-
name
:
Publish to huggingface
env
:
HF_TOKEN
:
${{ secrets.HF_TOKEN }}
...
...
请
注册
或
登录
后发表评论