From 5918e6e2228e6e2fb9a3d9fdb21bbb1a581d0352 Mon Sep 17 00:00:00 2001 From: Edresson Casanova Date: Mon, 6 Nov 2023 13:51:58 -0300 Subject: [PATCH] Bug fix on ne_hifigan decoder --- TTS/tts/models/xtts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TTS/tts/models/xtts.py b/TTS/tts/models/xtts.py index 82a7a0c1f0..9a501db8d3 100644 --- a/TTS/tts/models/xtts.py +++ b/TTS/tts/models/xtts.py @@ -936,7 +936,7 @@ def load_checkpoint( 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"):