https://hf.co/hexgrad/Kokoro-82M
Python
Bump to 0.9.4 (#169)
hexgrad1c7bdd971d2e
diff --git a/README.md b/README.mdindex 10b2012..57a6a24 100644--- a/README.md+++ b/README.md@@ -7,7 +7,7 @@ An inference library for [Kokoro-82M](https://huggingface.co/hexgrad/Kokoro-82M)### UsageYou 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>&1from kokoro import KPipelinefrom 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 UsageYou 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 EnvironmentUse the following conda `environment.yml` if you're facing any dependency issues.```yamldiff --git a/kokoro/__init__.py b/kokoro/__init__.pyindex 3dfefcb..9156e5c 100644--- a/kokoro/__init__.py+++ b/kokoro/__init__.py@@ -1,4 +1,4 @@-__version__ = '0.9.2'+__version__ = '0.9.4'from loguru import loggerimport sysdiff --git a/pyproject.toml b/pyproject.tomlindex 0220ec1..12f8bf8 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -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"