mirror of https://github.com/coqui-ai/TTS.git
Print when using Griffin-Lim in Synthesizer
This commit is contained in:
parent
c5077c6c3f
commit
d227aaebcc
TTS/utils
|
@ -74,6 +74,8 @@ class Synthesizer(object):
|
||||||
if vocoder_checkpoint:
|
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"]
|
self.output_sample_rate = self.vocoder_config.audio["sample_rate"]
|
||||||
|
else:
|
||||||
|
print(" > Using Griffin-Lim as no vocoder model defined")
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def _get_segmenter(lang: str):
|
def _get_segmenter(lang: str):
|
||||||
|
|
Loading…
Reference in New Issue