Add C++ runtime for MeloTTS (#1138)
This commit is contained in:
10
.github/workflows/export-melo-tts-to-onnx.yaml
vendored
10
.github/workflows/export-melo-tts-to-onnx.yaml
vendored
@@ -63,10 +63,16 @@ jobs:
|
||||
echo "pwd: $PWD"
|
||||
ls -lh ../scripts/melo-tts
|
||||
|
||||
rm -rf ./
|
||||
|
||||
cp -v ../scripts/melo-tts/*.onnx .
|
||||
cp -v ../scripts/melo-tts/lexicon.txt .
|
||||
cp -v ../scripts/melo-tts/tokens.txt .
|
||||
cp -v ../scripts/melo-tts/README.md .
|
||||
|
||||
curl -SL -O https://raw.githubusercontent.com/myshell-ai/MeloTTS/main/LICENSE
|
||||
|
||||
curl -SL -O https://huggingface.co/csukuangfj/icefall-tts-aishell3-vits-low-2024-04-06/resolve/main/data/new_heteronym.fst
|
||||
curl -SL -O https://huggingface.co/csukuangfj/icefall-tts-aishell3-vits-low-2024-04-06/resolve/main/data/date.fst
|
||||
curl -SL -O https://huggingface.co/csukuangfj/icefall-tts-aishell3-vits-low-2024-04-06/resolve/main/data/number.fst
|
||||
curl -SL -O https://huggingface.co/csukuangfj/icefall-tts-aishell3-vits-low-2024-04-06/resolve/main/data/phone.fst
|
||||
@@ -77,6 +83,10 @@ jobs:
|
||||
git lfs track "*.onnx"
|
||||
git add .
|
||||
|
||||
ls -lh
|
||||
|
||||
git status
|
||||
|
||||
git commit -m "add models"
|
||||
git push https://csukuangfj:$HF_TOKEN@huggingface.co/csukuangfj/vits-melo-tts-zh_en main || true
|
||||
|
||||
|
||||
10
.github/workflows/windows-x64-jni.yaml
vendored
10
.github/workflows/windows-x64-jni.yaml
vendored
@@ -39,10 +39,14 @@ jobs:
|
||||
cd build
|
||||
cmake \
|
||||
-A x64 \
|
||||
-D CMAKE_BUILD_TYPE=Release \
|
||||
-D BUILD_SHARED_LIBS=ON \
|
||||
-DBUILD_SHARED_LIBS=ON \
|
||||
-D SHERPA_ONNX_ENABLE_JNI=ON \
|
||||
-D CMAKE_INSTALL_PREFIX=./install \
|
||||
-DCMAKE_INSTALL_PREFIX=./install \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DSHERPA_ONNX_ENABLE_WEBSOCKET=OFF \
|
||||
-DBUILD_ESPEAK_NG_EXE=OFF \
|
||||
-DSHERPA_ONNX_BUILD_C_API_EXAMPLES=OFF \
|
||||
-DSHERPA_ONNX_ENABLE_BINARY=ON \
|
||||
..
|
||||
|
||||
- name: Build sherpa-onnx for windows
|
||||
|
||||
Reference in New Issue
Block a user