This commit is contained in:
Eren Golge 2019-06-15 01:22:27 +02:00
parent 037ec13453
commit 51f1cd67e3
1 changed files with 1 additions and 0 deletions

View File

@ -93,6 +93,7 @@ def synthesis(model,
trim_silence (bool): trim silence after synthesis.
"""
# GST processing
style_mel = None
if CONFIG.model == "TacotronGST" and style_wav is not None:
style_mel = compute_style_mel(style_wav, ap, use_cuda)
# preprocess the given text