Print when using Griffin-Lim in Synthesizer

This commit is contained in:
Eren Gölge
2021-11-01 16:52:26 +01:00
parent c5077c6c3f
commit d227aaebcc

View File

@@ -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):