ProgramComputer commited on
Commit
dd27643
1 Parent(s): 336870f

Update test.py

Browse files
Files changed (1) hide show
  1. test.py +0 -1
test.py CHANGED
@@ -333,7 +333,6 @@ class VoxCeleb(datasets.GeneratorBasedBuilder):
333
  info["speaker_name"] = speaker_info["VGGFace1 ID"]
334
  info["speaker_nationality"] = speaker_info["Nationality"]
335
  if conf.startswith("audio"):
336
- raise Exception(dataset_format)
337
  if dataset_format == "aac":
338
  y, sr = librosa.load(info["file"])
339
  info["audio"] = {'array':y,'path':info["file"],'sampling_rate':sr}
 
333
  info["speaker_name"] = speaker_info["VGGFace1 ID"]
334
  info["speaker_nationality"] = speaker_info["Nationality"]
335
  if conf.startswith("audio"):
 
336
  if dataset_format == "aac":
337
  y, sr = librosa.load(info["file"])
338
  info["audio"] = {'array':y,'path':info["file"],'sampling_rate':sr}