Commit Graph

4956 Commits

Author SHA1 Message Date
Enno Hermann 03430de88e chore: bump version to 0.24.1 2024-05-29 09:57:55 +02:00
Enno Hermann 49fcbd908b fix(espeak_wrapper): avoid stuck process on windows
Fixes #24
2024-05-29 07:39:03 +02:00
Enno Hermann 203f60f1e1 refactor(espeak_wrapper): remove sync argument
_espeak_exe is always called with sync=True, so remove code for sync==False
2024-05-28 21:30:55 +02:00
Enno Hermann df4a1f5ea6 docs: update readme
[ci skip]
2024-05-28 16:19:52 +02:00
Enno Hermann dc629f825d build: set upper version limit for transformers
transformers>=4.41 break XTTS streaming, see #31
2024-05-28 12:29:42 +02:00
Enno Hermann 7df4c2fa47 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.
2024-05-28 09:35:55 +02:00
Enno Hermann df088e99df
Merge pull request #19 from idiap/toml
Move from setup.py to pyproject.toml, simplify requirements
2024-05-27 08:59:09 +01:00
Enno Hermann 642cbd472f
Merge pull request #26 from idiap/server-output
fix(server): ensure logging output gets actually shown
2024-05-26 09:08:27 +01:00
Enno Hermann 7bf9033e53 chore: update repo info
[ci skip]
2024-05-25 17:33:44 +02:00
Enno Hermann ab7d84bf05 refactor(server): address linter issues 2024-05-23 08:42:21 +02:00
Enno Hermann 8503500d9d chore(server): remove duplicate code 2024-05-20 12:45:47 +02:00
Enno Hermann 70bd84894d fix(server): ensure logging output gets actually shown 2024-05-20 12:45:41 +02:00
Enno Hermann 602325021b chore: update version to 0.24.0
[ci skip]
2024-05-16 18:05:51 +02:00
Enno Hermann 924f42e3af ci: update release workflow
[ci skip]
2024-05-16 18:03:09 +02:00
Enno Hermann d73c9ccba3
Merge pull request #22 from idiap/bark
fix(bark): add missing argument for load_voice()
2024-05-16 15:21:33 +01:00
Enno Hermann 018f1e6453 docs(bark): update docstrings and type hints 2024-05-15 22:56:55 +02:00
Enno Hermann 59a6c9fdf2 fix(bark): add missing argument for load_voice()
Fixes https://github.com/coqui-ai/TTS/issues/2795
2024-05-15 22:56:28 +02:00
Enno Hermann 6d563af623 chore: remove obsolete code for torch<2
Minimum torch version is 2.1 now.
2024-05-08 18:08:40 +02:00
Enno Hermann 865a48156d fix: make korean g2p deps optional 2024-05-08 18:08:40 +02:00
Enno Hermann 55ed162f2a fix: make chinese g2p deps optional 2024-05-08 18:08:40 +02:00
Enno Hermann ea893c3795 fix: make bangla g2p deps optional 2024-05-08 18:08:40 +02:00
Enno Hermann 4f2eff418e chore: enable ruff rules that already pass 2024-05-08 18:08:40 +02:00
Enno Hermann 20e82bc92d build: update development dockerfile and test it in ci 2024-05-08 18:08:40 +02:00
Enno Hermann e3fed5cf70 build: create separate makefile target for development install 2024-05-08 12:40:11 +02:00
Enno Hermann 129b488614 build: update pip and setuptools in dockerfile
Otherwise a form of this issue occurs due to older setuptools not supporting
pyproject.toml:
https://github.com/pypa/setuptools/issues/3269

Might be resolved on Ubuntu 24.04 images.
2024-05-08 12:40:11 +02:00
Enno Hermann 0504ae3a02 ci: add script to automatically generate requirements.dev.txt
Having this file is still useful to allow installing *only* dev requirements
(e.g. in CI) with:
  pip install -r requirements.dev.txt

Generate that file automatically from the pyproject.toml based on:
e7c6baf00f/tools/generate_requirements.py
2024-05-08 12:17:47 +02:00
Enno Hermann ec50006855 style: run pre-commit
Automatic changes from: pre-commit run --all-files
2024-05-08 12:17:47 +02:00
Enno Hermann 5cf1d41555 chore: enable commented pre-commit rules 2024-05-08 12:17:47 +02:00
Enno Hermann 8d2a562c59 build: move dependencies into pyproject.toml 2024-05-08 12:17:45 +02:00
Enno Hermann fb92e13ebb build: remove unused/obsolete code 2024-05-08 12:13:41 +02:00
Enno Hermann 259d8fc40b build: store version in pyproject.toml 2024-05-07 18:27:55 +02:00
Enno Hermann f4cacd7b7c build: move metadata from setup.py to pyproject.toml 2024-05-07 18:27:55 +02:00
Enno Hermann 63bfb9f8aa
Merge pull request #17 from idiap/espeak-stderr
fix(espeak_wrapper): capture stderr separately
2024-05-07 15:06:19 +02:00
Enno Hermann 98e21d0f02 test(losses): change assertEqual to assertAlmostEqual
Failed in CI with:
AssertionError: 1.401298464324817e-45 != 0.0
2024-05-01 14:28:55 +02:00
Enno Hermann 962f9bbbcf refactor(espeak_wrapper): fix ruff lint suggestions 2024-05-01 13:31:39 +02:00
Enno Hermann 7b2289a454 fix(espeak_wrapper): capture stderr separately
Fixes https://github.com/coqui-ai/TTS/issues/2728

Previously, error messages from espeak were treated as normal output and also
converted to phonemes. This captures and logs them separately.
2024-05-01 12:31:49 +02:00
Enno Hermann 06304504d2
Merge pull request #11 from idiap/py312
build: add python 3.12 support
2024-04-23 13:52:00 +02:00
Enno Hermann d65ba4ad6a
Merge pull request #9 from idiap/fix-language-manager
fix(LanguageManager): allow initialisation from config with language ids file
2024-04-23 13:50:48 +02:00
Enno Hermann 2675e743b0 chore: update version to 0.23.1
[ci skip]
2024-04-23 09:57:43 +02:00
Enno Hermann 697d4effbc Revert "ci: switch back from uv to pip"
This reverts commit 00f8d47bcf.

uv has fixed https://github.com/astral-sh/uv/issues/1921, which should resolve
timeout issues with pytorch/nvidia packages.
2024-04-22 16:53:49 +02:00
Enno Hermann f636fabe51 build: switch to forked trainer package 2024-04-22 16:53:49 +02:00
Enno Hermann 8b1ed020ff build: add python 3.12 support 2024-04-22 16:53:49 +02:00
Enno Hermann 52a52b5e21 fix(LanguageManager): allow initialisation from config with language ids file
Previously, running `LanguageManager.init_from_config(config)` would never use
the `language_ids_file` if that field is present because it was overwritten in
the next line with a new manager that manually parses languages from the
datasets in the config. Now that is only used as a fallback.
2024-04-19 11:57:27 +02:00
Enno Hermann 5527f70d68
Merge pull request #5 from idiap/tokenizer-logging
Add tokenizer logging, update version for release 0.23.0
2024-04-18 10:56:43 +02:00
Enno Hermann f7d69cc1d7 chore: update version to 0.23.0 2024-04-11 17:01:09 +02:00
Enno Hermann 794eecb793 docs(README): update badges to new pypi package 2024-04-11 17:00:40 +02:00
Enno Hermann b3c9685aee fix(tokenizer): add debug logging 2024-04-11 16:58:12 +02:00
Enno Hermann 2ad790d169
Merge pull request #4 from idiap/hindi
feat(xtts): support Hindi for sentence-splitting and fine-tuning
2024-04-11 16:49:44 +02:00
Enno Hermann dfbe0168e9
Merge pull request #3 from idiap/logging
Use Python logging instead of print()
2024-04-11 08:34:44 +02:00
Enno Hermann d41686502e feat(xtts): support hindi for sentence-splitting and fine-tuning
The XTTS model itself already supports Hindi, it was just in these components.
2024-04-08 15:57:56 +02:00