From 51f1cd67e3cf26f0143940a7dd5c674c91473e9d Mon Sep 17 00:00:00 2001 From: Eren Golge Date: Sat, 15 Jun 2019 01:22:27 +0200 Subject: [PATCH] bug fix --- utils/synthesis.py | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/synthesis.py b/utils/synthesis.py index fce44dfe..6ae056b5 100644 --- a/utils/synthesis.py +++ b/utils/synthesis.py @@ -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