Skip to content
This repository was archived by the owner on Aug 3, 2021. It is now read-only.

Commit 8d00c47

Browse files
-s
Signed-off-by: Nitish Awasthi <anitish.225@gmail.com>
1 parent 61204b2 commit 8d00c47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

open_seq2seq/data/text2speech/text2speech.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ def build_graph(self):
320320
num_parallel_calls=8,
321321
)
322322
if (self.params.get("duration_max", None) or
323-
self.params.get("duration_max", None)):
323+
self.params.get("duration_min", None)):
324324
self._dataset = self._dataset.filter(
325325
lambda txt, txt_len, spec, stop, spec_len:
326326
tf.logical_and(

0 commit comments

Comments
 (0)