diff --git a/TTS/tts/configs/xtts_config.py b/TTS/tts/configs/xtts_config.py index 1865a3fd..ea95faf5 100644 --- a/TTS/tts/configs/xtts_config.py +++ b/TTS/tts/configs/xtts_config.py @@ -30,7 +30,7 @@ class XttsConfig(BaseTTSConfig): which in turn is used to divide the score of the sequence. Since the score is the log likelihood of the sequence (i.e. negative), length_penalty > 0.0 promotes longer sequences, while length_penalty < 0.0 encourages shorter sequences. - reperation_penalty (float): + repetition_penalty (float): The parameter for repetition penalty. 1.0 means no penalty. Defaults to `2.0`. top_p (float): diff --git a/TTS/tts/models/xtts.py b/TTS/tts/models/xtts.py index 58f8542b..3e413114 100644 --- a/TTS/tts/models/xtts.py +++ b/TTS/tts/models/xtts.py @@ -916,7 +916,7 @@ class Xtts(BaseTTS): if hasattr(self, "hifigan_decoder"): self.hifigan_decoder.eval() if hasattr(self, "ne_hifigan_decoder"): - self.hifigan_decoder.eval() + self.ne_hifigan_decoder.eval() if hasattr(self, "diffusion_decoder"): self.diffusion_decoder.eval() if hasattr(self, "vocoder"):