coqui-tts/TTS/utils
Enno Hermann 8c5227ed84
Fix tts_with_vc (#3275)
* Revert "fix for issue 3067"

This reverts commit 041b4b6723.

Fixes #3143. The original issue (#3067) was people trying to use
tts.tts_with_vc_to_file() with XTTS and was "fixed" in #3109. But XTTS has
integrated VC and you can just do tts.tts_to_file(..., speaker_wav="..."), there
is no point in passing it through FreeVC afterwards. So, reverting this commit
because it breaks tts.tts_with_vc_to_file() for any model that doesn't have
integrated VC, i.e. all models this method is meant for.

* fix: support multi-speaker models in tts_with_vc/tts_with_vc_to_file

* fix: only compute spk embeddings for models that support it

Fixes #1440. Passing a `speaker_wav` argument to regular Vits models failed
because they don't support voice cloning. Now that argument is simply ignored.
2023-11-24 12:26:37 +01:00
..
audio Remove duplicate AudioProcessor code and fix ExtractTTSpectrogram.ipynb (#3230) 2023-11-16 10:57:06 +01:00
__init__.py rename the project to old TTS 2020-09-09 12:27:23 +02:00
callbacks.py Make style and lint 2021-12-01 10:42:52 +00:00
capacitron_optimizer.py Fix Capacitron training (#2086) 2022-11-01 12:52:06 +01:00
distribute.py Update pylint 2.10.2 and fix lint issues 2021-08-30 08:10:35 +00:00
download.py Bump up to v0.11.0 (#2329) 2023-02-08 13:58:49 +01:00
downloaders.py Add addtional datasets 2021-12-16 07:21:27 -05:00
generic_utils.py 🔥 XTTS implementation 2023-09-13 17:51:24 +02:00
io.py refactor: use copy_model_files() from Trainer 2023-11-17 01:18:23 +01:00
manage.py Made the tqdm `progress_bar` objects of static download methods a static class variable (#3297) 2023-11-24 12:23:59 +01:00
radam.py Bump up to v0.11.0 (#2329) 2023-02-08 13:58:49 +01:00
samplers.py Bump up to v0.11.0 (#2329) 2023-02-08 13:58:49 +01:00
synthesizer.py Fix tts_with_vc (#3275) 2023-11-24 12:26:37 +01:00
training.py Update synthesis.py 2022-02-25 11:29:41 +01:00
vad.py Update VAD for silence trimming. (#2604) 2023-05-11 11:09:23 +02:00