mirror of https://github.com/coqui-ai/TTS.git
remove gst handling in synthetizer.py class
parent
184ce07718
commit
22a6bbfa80
|
@ -122,13 +122,6 @@ class Synthesizer(object):
|
|||
speaker_embedding = self.init_speaker(speaker_idx)
|
||||
use_gl = self.vocoder_model is None
|
||||
|
||||
|
||||
# check if compute gst style
|
||||
gst_style_input = None
|
||||
if self.tts_config.use_gst:
|
||||
if self.tts_config.gst["gst_style_input"] not in ["", {}]:
|
||||
gst_style_input = self.tts_config.gst["gst_style_input"]
|
||||
|
||||
for sen in sens:
|
||||
# synthesize voice
|
||||
waveform, _, _, mel_postnet_spec, _, _ = synthesis(
|
||||
|
@ -138,7 +131,7 @@ class Synthesizer(object):
|
|||
self.use_cuda,
|
||||
self.ap,
|
||||
speaker_idx,
|
||||
gst_style_input,
|
||||
None,
|
||||
False,
|
||||
self.tts_config.enable_eos_bos_chars,
|
||||
use_gl,
|
||||
|
|
Loading…
Reference in New Issue