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

Update test.py

Browse files
Files changed (1) hide show
  1. test.py +1 -1
test.py CHANGED
@@ -334,7 +334,7 @@ class VoxCeleb(datasets.GeneratorBasedBuilder):
334
  info["speaker_nationality"] = speaker_info["Nationality"]
335
  if conf.startswith("audio"):
336
  raise Exception(dataset_format)
337
- if dataset_format == "m4a":
338
  y, sr = librosa.load(info["file"])
339
  info["audio"] = {'array':y,'path':info["file"],'sampling_rate':sr}
340
  else:
 
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}
340
  else: