From eb51d5409af0b70f48cfb817241159d691fd81d6 Mon Sep 17 00:00:00 2001 From: SanjaESC Date: Sun, 12 Jul 2020 12:33:13 +0200 Subject: [PATCH] pylint --- mozilla_voice_tts/tts/models/tacotron_abstract.py | 3 +-- tests/inputs/test_config.json | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/mozilla_voice_tts/tts/models/tacotron_abstract.py b/mozilla_voice_tts/tts/models/tacotron_abstract.py index d1148be5..9b2ef148 100644 --- a/mozilla_voice_tts/tts/models/tacotron_abstract.py +++ b/mozilla_voice_tts/tts/models/tacotron_abstract.py @@ -177,8 +177,7 @@ class TacotronAbstract(ABC, nn.Module): elif style_input is None: gst_outputs = torch.zeros(1, 1, self.gst_embedding_dim).to(device) else: - # pylint: disable=not-callable - gst_outputs = self.gst_layer(style_input) + gst_outputs = self.gst_layer(style_input) # pylint: disable=not-callable embedded_gst = gst_outputs.repeat(1, inputs.size(1), 1) return inputs, embedded_gst diff --git a/tests/inputs/test_config.json b/tests/inputs/test_config.json index b34a53a8..450cb23a 100644 --- a/tests/inputs/test_config.json +++ b/tests/inputs/test_config.json @@ -60,6 +60,5 @@ "gst_embedding_dim": 512, "gst_num_heads": 4, "gst_style_tokens": 10 - }, - + } }