mirror of https://github.com/coqui-ai/TTS.git
When `tts_with_vc_to_file` is invoked with only `speaker_wav` and not `speaker`, it was throwing the error. Error in text to speech: Model is multi-speaker but no `speaker` is provided. ``` File ".../.conda/envs/venv/lib/python3.11/site-packages/TTS/api.py", line 416, in tts_with_vc self.tts_to_file( File ".../.conda/envs/venv/lib/python3.11/site-packages/TTS/api.py", line 333, in tts_to_file self._check_arguments(speaker=speaker, language=language, speaker_wav=speaker_wav, **kwargs) File ".../.conda/envs/venv/lib/python3.11/site-packages/TTS/api.py", line 228, in _check_arguments raise ValueError("Model is multi-speaker but no `speaker` is provided.") ValueError: Model is multi-speaker but no `speaker` is provided. ERROR:app.std.app_logger:Error in text to speech: Model is multi-speaker but no `speaker` is provided. |
||
---|---|---|
.. | ||
bin | ||
config | ||
demos/xtts_ft_demo | ||
encoder | ||
server | ||
tts | ||
utils | ||
vc | ||
vocoder | ||
.models.json | ||
VERSION | ||
__init__.py | ||
api.py | ||
model.py |