Python API for yourTTS is no longer working for French (working well for English). I used the exactly same example as the given one on readme.md. This was working on Feb 18, 2023.
from TTS.api import TTS
tts = TTS(model_name="tts_models/multilingual/multi-dataset/your_tts")
tts.tts_to_file("C'est le clonage de la voix.", speaker_wav="clone.wav", language="fr", file_path="output_fr.wav")
Describe the bug
Python API for yourTTS is no longer working for French (working well for English). I used the exactly same example as the given one on readme.md. This was working on Feb 18, 2023.
It gives me a "KeyError: 'fr'" Here is the colab link: https://colab.research.google.com/drive/1YuiWxDCbLsw5dvEd9YQpHwDBMo7Ngtvx#scrollTo=Xqy_I3zNbbEG
To Reproduce
from TTS.api import TTS tts = TTS(model_name="tts_models/multilingual/multi-dataset/your_tts") tts.tts_to_file("C'est le clonage de la voix.", speaker_wav="clone.wav", language="fr", file_path="output_fr.wav")
Here is the colab link: https://colab.research.google.com/drive/1YuiWxDCbLsw5dvEd9YQpHwDBMo7Ngtvx#scrollTo=Xqy_I3zNbbEG
Expected behavior
"output_fr.wav" created
Logs
Environment
Additional context
No response