mirror of https://github.com/coqui-ai/TTS.git
Update synthesizer.py
This commit is contained in:
parent
4b0b906817
commit
f0880d61f6
|
@ -336,7 +336,7 @@ class Synthesizer(nn.Module):
|
|||
# handle multi-lingual
|
||||
language_id = None
|
||||
if self.tts_languages_file or (
|
||||
hasattr(self.tts_model, "language_manager")
|
||||
hasattr(self.tts_model, "language_manager")
|
||||
and self.tts_model.language_manager is not None
|
||||
and not self.tts_config.model == "xtts"
|
||||
):
|
||||
|
|
Loading…
Reference in New Issue