Bump to 0.9.4 (#169)
This commit is contained in:
23
README.md
23
README.md
@@ -7,7 +7,7 @@ An inference library for [Kokoro-82M](https://huggingface.co/hexgrad/Kokoro-82M)
|
||||
### Usage
|
||||
You can run this basic cell on [Google Colab](https://colab.research.google.com/). [Listen to samples](https://huggingface.co/hexgrad/Kokoro-82M/blob/main/SAMPLES.md).
|
||||
```py
|
||||
!pip install -q kokoro>=0.9.2 soundfile
|
||||
!pip install -q kokoro>=0.9.4 soundfile
|
||||
!apt-get -qq -y install espeak-ng > /dev/null 2>&1
|
||||
from kokoro import KPipeline
|
||||
from IPython.display import display, Audio
|
||||
@@ -25,21 +25,11 @@ for i, (gs, ps, audio) in enumerate(generator):
|
||||
```
|
||||
Under the hood, `kokoro` uses [`misaki`](https://pypi.org/project/misaki/), a G2P library at https://github.com/hexgrad/misaki
|
||||
|
||||
### Windows Installation
|
||||
To install espeak-ng on Windows:
|
||||
1. Go to [espeak-ng releases](https://github.com/espeak-ng/espeak-ng/releases)
|
||||
2. Click on **Latest release**
|
||||
3. Download the appropriate *.msi file (e.g. **espeak-ng-20191129-b702b03-x64.msi**)
|
||||
4. Run the downloaded installer
|
||||
|
||||
For advanced configuration and usage on Windows, see the [official espeak-ng Windows guide](https://github.com/espeak-ng/espeak-ng/blob/master/docs/guide.md)
|
||||
|
||||
### Advanced Usage
|
||||
You can run this advanced cell on [Google Colab](https://colab.research.google.com/).
|
||||
```py
|
||||
# 1️⃣ Install kokoro
|
||||
!pip install -q kokoro>=0.9.2 soundfile
|
||||
|
||||
!pip install -q kokoro>=0.9.4 soundfile
|
||||
# 2️⃣ Install espeak, used for English OOD fallback and some non-English languages
|
||||
!apt-get -qq -y install espeak-ng > /dev/null 2>&1
|
||||
|
||||
@@ -96,6 +86,15 @@ for i, (gs, ps, audio) in enumerate(generator):
|
||||
sf.write(f'{i}.wav', audio, 24000) # save each audio file
|
||||
```
|
||||
|
||||
### Windows Installation
|
||||
To install espeak-ng on Windows:
|
||||
1. Go to [espeak-ng releases](https://github.com/espeak-ng/espeak-ng/releases)
|
||||
2. Click on **Latest release**
|
||||
3. Download the appropriate `*.msi` file (e.g. **espeak-ng-20191129-b702b03-x64.msi**)
|
||||
4. Run the downloaded installer
|
||||
|
||||
For advanced configuration and usage on Windows, see the [official espeak-ng Windows guide](https://github.com/espeak-ng/espeak-ng/blob/master/docs/guide.md)
|
||||
|
||||
### Conda Environment
|
||||
Use the following conda `environment.yml` if you're facing any dependency issues.
|
||||
```yaml
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
__version__ = '0.9.2'
|
||||
__version__ = '0.9.4'
|
||||
|
||||
from loguru import logger
|
||||
import sys
|
||||
|
||||
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
||||
|
||||
[project]
|
||||
name = "kokoro"
|
||||
version = "0.9.2"
|
||||
version = "0.9.4"
|
||||
description = "TTS"
|
||||
readme = "README.md"
|
||||
authors = [
|
||||
@@ -20,7 +20,7 @@ requires-python = ">=3.10, <3.13"
|
||||
dependencies = [
|
||||
"huggingface_hub",
|
||||
"loguru",
|
||||
"misaki[en]>=0.9.2",
|
||||
"misaki[en]>=0.9.4",
|
||||
"numpy",
|
||||
"torch",
|
||||
"transformers"
|
||||
@@ -34,5 +34,5 @@ only-include = ["kokoro"]
|
||||
only-packages = true
|
||||
|
||||
[project.urls]
|
||||
Homepage = "https://github.com/hexgrad/kokoros"
|
||||
Homepage = "https://github.com/hexgrad/kokoro"
|
||||
Repository = "https://github.com/hexgrad/kokoro"
|
||||
|
||||
Reference in New Issue
Block a user