from local

This commit is contained in:
dohe0342 2023-03-14 15:14:09 +09:00
parent b9e054ad43
commit 249647d4b5
2 changed files with 1 additions and 1 deletions

View File

@ -778,7 +778,7 @@ def main():
#test_other_cuts = librispeech.test_other_cuts(option='male')
test_clean_cuts = librispeech.vox_cuts(option=params.spk_id)
def remove_short_and_long_utt(c: Cut):
def remove_short_and_long_utt(c):
return 1.0 <= c.duration <= 20.0
test_clean_cuts = test_clean_cuts.filter(remove_short_and_long_utt)