mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-08-09 01:52:41 +00:00
Add more wheels for piper-phonemize (#1969)
This commit is contained in:
parent
e1cf4dbace
commit
abd9437e6d
67
.github/scripts/generate-piper-phonemize-page.py
vendored
67
.github/scripts/generate-piper-phonemize-page.py
vendored
@ -1,7 +1,7 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def get_v1_2_0_files():
|
||||||
prefix = (
|
prefix = (
|
||||||
"https://github.com/csukuangfj/piper-phonemize/releases/download/2023.12.5/"
|
"https://github.com/csukuangfj/piper-phonemize/releases/download/2023.12.5/"
|
||||||
)
|
)
|
||||||
@ -19,9 +19,70 @@ def main():
|
|||||||
"piper_phonemize-1.2.0-cp39-cp39-macosx_10_14_x86_64.whl",
|
"piper_phonemize-1.2.0-cp39-cp39-macosx_10_14_x86_64.whl",
|
||||||
"piper_phonemize-1.2.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
|
"piper_phonemize-1.2.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
|
||||||
]
|
]
|
||||||
|
ans = [prefix + f for f in files]
|
||||||
|
ans.sort()
|
||||||
|
return ans
|
||||||
|
|
||||||
|
|
||||||
|
def get_v1_3_0_files():
|
||||||
|
prefix = (
|
||||||
|
"https://github.com/csukuangfj/piper-phonemize/releases/download/2025.06.23/"
|
||||||
|
)
|
||||||
|
files = [
|
||||||
|
"piper_phonemize-1.3.0-cp310-cp310-macosx_10_9_universal2.whl",
|
||||||
|
"piper_phonemize-1.3.0-cp310-cp310-macosx_10_9_x86_64.whl",
|
||||||
|
"piper_phonemize-1.3.0-cp310-cp310-macosx_11_0_arm64.whl",
|
||||||
|
"piper_phonemize-1.3.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
|
||||||
|
"piper_phonemize-1.3.0-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl",
|
||||||
|
"piper_phonemize-1.3.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
|
||||||
|
"piper_phonemize-1.3.0-cp310-cp310-win_amd64.whl",
|
||||||
|
"piper_phonemize-1.3.0-cp311-cp311-macosx_10_9_universal2.whl",
|
||||||
|
"piper_phonemize-1.3.0-cp311-cp311-macosx_10_9_x86_64.whl",
|
||||||
|
"piper_phonemize-1.3.0-cp311-cp311-macosx_11_0_arm64.whl",
|
||||||
|
"piper_phonemize-1.3.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
|
||||||
|
"piper_phonemize-1.3.0-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl",
|
||||||
|
"piper_phonemize-1.3.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
|
||||||
|
"piper_phonemize-1.3.0-cp311-cp311-win_amd64.whl",
|
||||||
|
"piper_phonemize-1.3.0-cp312-cp312-macosx_10_13_universal2.whl",
|
||||||
|
"piper_phonemize-1.3.0-cp312-cp312-macosx_10_13_x86_64.whl",
|
||||||
|
"piper_phonemize-1.3.0-cp312-cp312-macosx_11_0_arm64.whl",
|
||||||
|
"piper_phonemize-1.3.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
|
||||||
|
"piper_phonemize-1.3.0-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl",
|
||||||
|
"piper_phonemize-1.3.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
|
||||||
|
"piper_phonemize-1.3.0-cp312-cp312-win_amd64.whl",
|
||||||
|
"piper_phonemize-1.3.0-cp313-cp313-macosx_10_13_universal2.whl",
|
||||||
|
"piper_phonemize-1.3.0-cp313-cp313-macosx_10_13_x86_64.whl",
|
||||||
|
"piper_phonemize-1.3.0-cp313-cp313-macosx_11_0_arm64.whl",
|
||||||
|
"piper_phonemize-1.3.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
|
||||||
|
"piper_phonemize-1.3.0-cp313-cp313-manylinux_2_17_i686.manylinux2014_i686.whl",
|
||||||
|
"piper_phonemize-1.3.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
|
||||||
|
"piper_phonemize-1.3.0-cp313-cp313-win_amd64.whl",
|
||||||
|
"piper_phonemize-1.3.0-cp38-cp38-macosx_10_9_universal2.whl",
|
||||||
|
"piper_phonemize-1.3.0-cp38-cp38-macosx_10_9_x86_64.whl",
|
||||||
|
"piper_phonemize-1.3.0-cp38-cp38-macosx_11_0_arm64.whl",
|
||||||
|
"piper_phonemize-1.3.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
|
||||||
|
"piper_phonemize-1.3.0-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl",
|
||||||
|
"piper_phonemize-1.3.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
|
||||||
|
"piper_phonemize-1.3.0-cp38-cp38-win_amd64.whl",
|
||||||
|
"piper_phonemize-1.3.0-cp39-cp39-macosx_10_9_universal2.whl",
|
||||||
|
"piper_phonemize-1.3.0-cp39-cp39-macosx_10_9_x86_64.whl",
|
||||||
|
"piper_phonemize-1.3.0-cp39-cp39-macosx_11_0_arm64.whl",
|
||||||
|
"piper_phonemize-1.3.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
|
||||||
|
"piper_phonemize-1.3.0-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl",
|
||||||
|
"piper_phonemize-1.3.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
|
||||||
|
"piper_phonemize-1.3.0-cp39-cp39-win_amd64.whl",
|
||||||
|
]
|
||||||
|
ans = [prefix + f for f in files]
|
||||||
|
ans.sort()
|
||||||
|
return ans
|
||||||
|
|
||||||
|
|
||||||
|
def main():
|
||||||
|
files = get_v1_3_0_files() + get_v1_2_0_files()
|
||||||
|
|
||||||
with open("piper_phonemize.html", "w") as f:
|
with open("piper_phonemize.html", "w") as f:
|
||||||
for file in files:
|
for url in files:
|
||||||
url = prefix + file
|
file = url.split("/")[-1]
|
||||||
f.write(f'<a href="{url}">{file}</a><br/>\n')
|
f.write(f'<a href="{url}">{file}</a><br/>\n')
|
||||||
|
|
||||||
|
|
||||||
|
4
.github/workflows/build-doc.yml
vendored
4
.github/workflows/build-doc.yml
vendored
@ -34,7 +34,7 @@ concurrency:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-doc:
|
build-doc:
|
||||||
if: github.event.label.name == 'doc' || github.event_name == 'push'
|
# if: github.event.label.name == 'doc' || github.event_name == 'push'
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
@ -43,7 +43,7 @@ jobs:
|
|||||||
python-version: ["3.8"]
|
python-version: ["3.8"]
|
||||||
steps:
|
steps:
|
||||||
# refer to https://github.com/actions/checkout
|
# refer to https://github.com/actions/checkout
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user