Skip to content

Commit

Permalink
Add TTS Android APKs (#496)
Browse files Browse the repository at this point in the history
  • Loading branch information
csukuangfj authored Oct 29, 2023
1 parent e0707f8 commit 725f292
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/build-doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ on:
- '.github/workflows/build-doc.yml'
- 'docs/**'

workflow_dispatch:

concurrency:
group: build-doc-${{ github.ref }}
cancel-in-progress: true
Expand All @@ -41,14 +43,10 @@ jobs:
python-version: [3.8]
steps:
# refer to https://github.com/actions/checkout
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Display gcc version
run: |
gcc --version
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
Expand All @@ -64,6 +62,14 @@ jobs:
python3 -m pip install -r ./requirements.txt
make html
export GIT_LFS_SKIP_SMUDGE=1
git clone https://huggingface.co/csukuangfj/sherpa-onnx-apk huggingface
cd huggingface
./generate-tts.py
mv -v apk.html ../build/html/onnx/tts/
cd ..
rm -rf huggingface
cp source/cpu.html build/html/
cp source/cuda.html build/html/
Expand Down
6 changes: 6 additions & 0 deletions docs/source/onnx/tts/pretrained_models/vits.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ All models in a single table

The following table summarizes the information of all models in this page.

.. hint::

You can find Android APKs for each model at the following page

`<https://k2-fsa.github.io/sherpa/onnx/tts/apk.html>`_

.. list-table::

* - Model
Expand Down

0 comments on commit 725f292

Please sign in to comment.