ProgramComputer commited on
Commit
603988d
·
1 Parent(s): 489486f

Update test.py

Browse files
Files changed (1) hide show
  1. test.py +1 -1
test.py CHANGED
@@ -300,7 +300,7 @@ class VoxCeleb(datasets.GeneratorBasedBuilder):
300
  )
301
 
302
  for path in paths[conf]:
303
- raise Exception(zipfile.is_zipfile(path))
304
  dataset_path = next(Path(path).iterdir())
305
  dataset_format = dataset_path.name
306
  for speaker_path in dataset_path.iterdir():
 
300
  )
301
 
302
  for path in paths[conf]:
303
+ raise Exception(os.path.isfile(path))
304
  dataset_path = next(Path(path).iterdir())
305
  dataset_format = dataset_path.name
306
  for speaker_path in dataset_path.iterdir():