Open-source State-of-the-art TTS model which runs on a CPU 😻
Python
Depend on brotli so Hub downloads do not fail on brotlicffi
stellon-admin999e0cf0ad97
diff --git a/pyproject.toml b/pyproject.tomlindex ccdd384..a1323f4 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"[project]name = "kittenml"-version = "0.9.2"+version = "0.9.3"description = "Text-to-speech with voice cloning and expression control, plus ultra-lightweight models that run on CPU"readme = "README.md"requires-python = ">=3.10"@@ -27,6 +27,13 @@ dependencies = ["soundfile","librosa","huggingface_hub",+ # huggingface_hub downloads over httpx, which offers Brotli to the Hub+ # whenever a Brotli package is importable. Its fallback backend,+ # brotlicffi, errors mid-stream on some CDN responses ("decoder process+ # called with data when 'can_accept_more_data()' is False"), failing the+ # download. httpx prefers these C bindings over brotlicffi, so having+ # them installed keeps that path out of reach.+ "brotli","einops","diffusers","omegaconf",diff --git a/requirements.txt b/requirements.txtindex 7ce8263..113437d 100644--- a/requirements.txt+++ b/requirements.txt@@ -11,6 +11,8 @@ scipysoundfilelibrosahuggingface_hub+# keeps httpx off brotlicffi, whose decoder fails on some Hub downloads+brotli# s3gen vocoder (vendored in kittenml/kittentts2/s3gen.py)einopsdiff --git a/setup.py b/setup.pyindex aa8ec45..54b0d5d 100644--- a/setup.py+++ b/setup.py@@ -5,7 +5,7 @@ with open("README.md", "r", encoding="utf-8") as fh:setup(name="kittenml",- version="0.9.1",+ version="0.9.3",author="KittenML",author_email="",description="Text-to-speech with voice cloning and expression control, plus ultra-lightweight models that run on CPU",@@ -37,6 +37,7 @@ setup("soundfile","librosa","huggingface_hub",+ "brotli","einops","diffusers","omegaconf",