mirror of https://github.com/coqui-ai/TTS.git
In multilingual models, the target language is specified via the `--language_idx` argument. However, the `tts` CLI also accepts a `--language` argument for use with Coqui Studio, so it is easy to choose the wrong one, resulting in the following confusing error at synthesis time: ``` AssertionError: ❗ Language None is not supported. Supported languages are ['en', 'es', 'fr', 'de', 'it', 'pt', 'pl', 'tr', 'ru', 'nl', 'cs', 'ar', 'zh-cn', 'hu', 'ko', 'ja'] ``` This commit adds a better error message when `--language` is passed for a non-studio model. Fixes #3270, fixes #3291 |
||
---|---|---|
.. | ||
__init__.py | ||
collect_env_info.py | ||
compute_attention_masks.py | ||
compute_embeddings.py | ||
compute_statistics.py | ||
eval_encoder.py | ||
extract_tts_spectrograms.py | ||
find_unique_chars.py | ||
find_unique_phonemes.py | ||
remove_silence_using_vad.py | ||
resample.py | ||
synthesize.py | ||
train_encoder.py | ||
train_tts.py | ||
train_vocoder.py | ||
tune_wavegrad.py |