From 3ace2440fac9f95b10a4bb43ffd156022df41b2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eren=20G=C3=B6lge?= Date: Fri, 16 Apr 2021 19:39:47 +0200 Subject: [PATCH] fix a mistake from rebase --- TTS/utils/synthesizer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/TTS/utils/synthesizer.py b/TTS/utils/synthesizer.py index 95330dca..239e2057 100644 --- a/TTS/utils/synthesizer.py +++ b/TTS/utils/synthesizer.py @@ -58,10 +58,10 @@ class Synthesizer(object): if self.use_cuda: assert torch.cuda.is_available(), "CUDA is not availabe on this machine." - self.load_tts(tts_checkpoint, tts_config, use_cuda) + self._load_tts(tts_checkpoint, tts_config_path, use_cuda) self.output_sample_rate = self.tts_config.audio["sample_rate"] if vocoder_checkpoint: - self.load_vocoder(vocoder_checkpoint, vocoder_config, use_cuda) + self._load_vocoder(vocoder_checkpoint, vocoder_config, use_cuda) self.output_sample_rate = self.vocoder_config.audio["sample_rate"] @staticmethod