From 7df4c2fa475be941e16ff955e86a5da961695bdf Mon Sep 17 00:00:00 2001 From: Enno Hermann Date: Tue, 28 May 2024 09:35:55 +0200 Subject: [PATCH 1/4] fix: restore TTS.__version__ attribute This is used by the TTS/bin/collect_env_info.py script with which users print version information for bug reports. We restore the TTS.__version__ attribute so that old versions of the script still work. --- TTS/__init__.py | 3 +++ docs/source/conf.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/TTS/__init__.py b/TTS/__init__.py index e69de29b..9e87bca4 100644 --- a/TTS/__init__.py +++ b/TTS/__init__.py @@ -0,0 +1,3 @@ +import importlib.metadata + +__version__ = importlib.metadata.version("coqui-tts") diff --git a/docs/source/conf.py b/docs/source/conf.py index 2a9f62b3..e7d36c1f 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -20,7 +20,7 @@ sys.path.insert(0, os.path.abspath("../..")) autodoc_mock_imports = ["soundfile"] # -- Project information ----------------------------------------------------- -project = "TTS" +project = "coqui-tts" copyright = "2021 Coqui GmbH, 2020 TTS authors" author = "Coqui GmbH" From dc629f825dad134ea37d72a72c50f7adf40a13ca Mon Sep 17 00:00:00 2001 From: Enno Hermann Date: Tue, 28 May 2024 12:29:42 +0200 Subject: [PATCH 2/4] build: set upper version limit for transformers transformers>=4.41 break XTTS streaming, see #31 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 9b2fe41c..e1ea662d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -69,7 +69,7 @@ dependencies = [ "gruut[de,es,fr]==2.2.3", # Tortoise "einops>=0.6.0", - "transformers>=4.33.0", + "transformers>=4.33.0,<4.41.0", # Bark "encodec>=0.1.1", # XTTS From df4a1f5ea6c06d1eec3de63995e0777e811170fa Mon Sep 17 00:00:00 2001 From: Enno Hermann Date: Tue, 28 May 2024 16:19:52 +0200 Subject: [PATCH 3/4] docs: update readme [ci skip] --- README.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 1033d16b..0a3bccca 100644 --- a/README.md +++ b/README.md @@ -154,7 +154,7 @@ The following extras allow the installation of optional dependencies: |------|-------------| | `all` | All optional dependencies, except `dev` and `docs` | | `dev` | Development dependencies | -| `dev` | Dependencies for building the documentation | +| `docs` | Dependencies for building the documentation | | `notebooks` | Dependencies only used in notebooks | | `server` | Dependencies to run the TTS server | | `bn` | Bangla G2P | @@ -270,11 +270,10 @@ You can find the language ISO codes [here](https://dl.fbaipublicfiles.com/mms/tt and learn about the Fairseq models [here](https://github.com/facebookresearch/fairseq/tree/main/examples/mms). ```python -# TTS with on the fly voice conversion +# TTS with fairseq models api = TTS("tts_models/deu/fairseq/vits") -api.tts_with_vc_to_file( +api.tts_to_file( "Wie sage ich auf Italienisch, dass ich dich liebe?", - speaker_wav="target/speaker.wav", file_path="output.wav" ) ``` From 03430de88e8ba0fc706394f5d962fe5ff318268f Mon Sep 17 00:00:00 2001 From: Enno Hermann Date: Wed, 29 May 2024 09:57:55 +0200 Subject: [PATCH 4/4] chore: bump version to 0.24.1 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index e1ea662d..ff2ff32d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -11,7 +11,7 @@ include = ["TTS*"] [project] name = "coqui-tts" -version = "0.24.0" +version = "0.24.1" description = "Deep learning for Text to Speech." readme = "README.md" requires-python = ">=3.9, <3.13"