mirror of
https://github.com/santinic/audiblez.git
synced 2025-08-05 16:48:55 +00:00
fix
This commit is contained in:
parent
731ba787f9
commit
b02c9c4ced
3 changed files with 20 additions and 19 deletions
34
.github/workflows/pip-install.yaml
vendored
34
.github/workflows/pip-install.yaml
vendored
|
@ -6,7 +6,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: '3.11'
|
python-version: '3.11'
|
||||||
- name: Install audiblez
|
- name: Install audiblez
|
||||||
|
@ -23,7 +23,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: '3.12'
|
python-version: '3.12'
|
||||||
- name: Install audiblez
|
- name: Install audiblez
|
||||||
|
@ -34,18 +34,18 @@ jobs:
|
||||||
run: python -m audiblez --help
|
run: python -m audiblez --help
|
||||||
- name: check it runs as script
|
- name: check it runs as script
|
||||||
run: audiblez --help
|
run: audiblez --help
|
||||||
install-and-run-on-python-3-10:
|
# install-and-run-on-python-3-10: # Doesn't work because of Kokoro
|
||||||
runs-on: ubuntu-latest
|
# runs-on: ubuntu-latest
|
||||||
steps:
|
# steps:
|
||||||
- name: Set up Python
|
# - name: Set up Python
|
||||||
uses: actions/setup-python@v2
|
# uses: actions/setup-python@v5
|
||||||
with:
|
# with:
|
||||||
python-version: '3.10'
|
# python-version: '3.10'
|
||||||
- name: Install audiblez
|
# - name: Install audiblez
|
||||||
run: python -m pip install audiblez
|
# run: python -m pip install audiblez
|
||||||
- name: Fake download model
|
# - name: Fake download model
|
||||||
run: touch kokoro-v0_19.onnx && touch voices.json
|
# run: touch kokoro-v0_19.onnx && touch voices.json
|
||||||
- name: Check it runs as module
|
# - name: Check it runs as module
|
||||||
run: python -m audiblez --help
|
# run: python -m audiblez --help
|
||||||
- name: check it runs as script
|
# - name: check it runs as script
|
||||||
run: audiblez --help
|
# run: audiblez --help
|
||||||
|
|
|
@ -16,7 +16,8 @@ at a rate of about 80 characters per second.
|
||||||
|
|
||||||
## How to install and run
|
## 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:
|
Then you also need to download the onnx and voices files in the same folder, which are about ~360MB:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|
|
@ -6,7 +6,7 @@ authors = [
|
||||||
{ name = "Claudio Santini", email = "hireclaudio@gmail.com" }
|
{ name = "Claudio Santini", email = "hireclaudio@gmail.com" }
|
||||||
]
|
]
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
requires-python = ">=3.10,<3.13"
|
requires-python = ">=3.11,<3.13"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bs4 (==0.0.2)",
|
"bs4 (==0.0.2)",
|
||||||
"attrs (==24.3.0)",
|
"attrs (==24.3.0)",
|
||||||
|
|
Loading…
Add table
Reference in a new issue