coqui-tts/TTS
Manju 635e914002
Pass speaker_wav argument to tts_to_file in tts_with_vc method
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.
2024-05-29 21:56:58 +01:00
..
bin Merge pull request #3423 from idiap/fix-aux-tests 2023-12-14 18:00:30 +01:00
config Fix read_json_with_comments 2023-12-11 23:58:52 +01:00
demos/xtts_ft_demo Add XTTS Fine tuning gradio demo (#3296) 2023-12-01 23:52:23 +01:00
encoder refactor: use save_checkpoint()/save_best_model() from Trainer 2023-11-17 01:18:23 +01:00
server Make style 2023-08-11 12:55:23 +02:00
tts Bug fix in MP3 and FLAC compute length on TTSDataset (#3092) 2023-12-27 13:23:43 -03:00
utils Extract dataset and model for fairseq models 2024-05-29 21:46:42 +01:00
vc PyTorch 2.1 Updates (Weight Norm and TorchAudio I/O) (#3176) 2023-11-09 16:31:03 +01:00
vocoder Ensures that only GPT model is in training mode during XTTS GPT training (#3241) 2023-11-17 15:15:22 +01:00
.models.json Update .models.json 2023-12-12 13:50:01 +01:00
VERSION Update to v0.22.0 2023-12-12 16:10:46 +01:00
__init__.py Use `coqui_tts` as the default run name 2021-08-30 12:56:47 +00:00
api.py Pass speaker_wav argument to tts_to_file in tts_with_vc method 2024-05-29 21:56:58 +01:00
model.py Cache fsspec downloads (#2132) 2022-11-09 22:12:48 +01:00