Add Java API for text-to-speech (#811)

This commit is contained in:
Fangjun Kuang
2024-04-26 09:26:39 +08:00
committed by GitHub
parent fa2429920f
commit 15772d2150
15 changed files with 692 additions and 0 deletions

View File

@@ -138,3 +138,21 @@ jobs:
./run-non-streaming-decode-file-nemo.sh
rm -rf sherpa-onnx-nemo-*
- name: Run java test (Non-Streaming TTS)
shell: bash
run: |
cd ./java-api-examples
./run-non-streaming-tts-piper-en.sh
rm -rf vits-piper-*
./run-non-streaming-tts-coqui-de.sh
rm -rf vits-coqui-*
./run-non-streaming-tts-vits-zh.sh
rm -rf vits-zh-*
- uses: actions/upload-artifact@v4
with:
name: tts-wav-files-${{ matrix.os }}
path: java-api-examples/*.wav