From 8d00c47107e65a0c7aec2f247ecdd610e8160932 Mon Sep 17 00:00:00 2001 From: Nitish Awasthi Date: Sat, 5 Sep 2020 00:01:02 +0530 Subject: [PATCH] -s Signed-off-by: Nitish Awasthi --- open_seq2seq/data/text2speech/text2speech.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/open_seq2seq/data/text2speech/text2speech.py b/open_seq2seq/data/text2speech/text2speech.py index 0f6b9d1b2..73fc82c43 100644 --- a/open_seq2seq/data/text2speech/text2speech.py +++ b/open_seq2seq/data/text2speech/text2speech.py @@ -320,7 +320,7 @@ def build_graph(self): num_parallel_calls=8, ) if (self.params.get("duration_max", None) or - self.params.get("duration_max", None)): + self.params.get("duration_min", None)): self._dataset = self._dataset.filter( lambda txt, txt_len, spec, stop, spec_len: tf.logical_and(