This commit is contained in:
Claudio Santini 2025-01-14 23:34:37 +01:00
parent 731ba787f9
commit b02c9c4ced
3 changed files with 20 additions and 19 deletions

View file

@ -6,7 +6,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install audiblez
@ -23,7 +23,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install audiblez
@ -34,18 +34,18 @@ jobs:
run: python -m audiblez --help
- name: check it runs as script
run: audiblez --help
install-and-run-on-python-3-10:
runs-on: ubuntu-latest
steps:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.10'
- name: Install audiblez
run: python -m pip install audiblez
- name: Fake download model
run: touch kokoro-v0_19.onnx && touch voices.json
- name: Check it runs as module
run: python -m audiblez --help
- name: check it runs as script
run: audiblez --help
# install-and-run-on-python-3-10: # Doesn't work because of Kokoro
# runs-on: ubuntu-latest
# steps:
# - name: Set up Python
# uses: actions/setup-python@v5
# with:
# python-version: '3.10'
# - name: Install audiblez
# run: python -m pip install audiblez
# - name: Fake download model
# run: touch kokoro-v0_19.onnx && touch voices.json
# - name: Check it runs as module
# run: python -m audiblez --help
# - name: check it runs as script
# run: audiblez --help

View file

@ -16,7 +16,8 @@ at a rate of about 80 characters per second.
## How to install and run
If you have python3 on your computer, you can install it with pip.
If you have Python 3.11 or Python 3.12 on your computer, you can install it with pip.
Be aware that it won't work with Python 3.10 or lower.
Then you also need to download the onnx and voices files in the same folder, which are about ~360MB:
```bash

View file

@ -6,7 +6,7 @@ authors = [
{ name = "Claudio Santini", email = "hireclaudio@gmail.com" }
]
readme = "README.md"
requires-python = ">=3.10,<3.13"
requires-python = ">=3.11,<3.13"
dependencies = [
"bs4 (==0.0.2)",
"attrs (==24.3.0)",