From d227aaebcc7e4b0df7b3bd0714807748e8164e14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eren=20G=C3=B6lge?= Date: Mon, 1 Nov 2021 16:52:26 +0100 Subject: [PATCH] Print when using Griffin-Lim in Synthesizer --- TTS/utils/synthesizer.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/TTS/utils/synthesizer.py b/TTS/utils/synthesizer.py index 78681967..043c4982 100644 --- a/TTS/utils/synthesizer.py +++ b/TTS/utils/synthesizer.py @@ -74,6 +74,8 @@ class Synthesizer(object): if vocoder_checkpoint: self._load_vocoder(vocoder_checkpoint, vocoder_config, use_cuda) self.output_sample_rate = self.vocoder_config.audio["sample_rate"] + else: + print(" > Using Griffin-Lim as no vocoder model defined") @staticmethod def _get_segmenter(lang: str):