Datasets:

Modalities:
Audio
Text
Formats:
parquet
ArXiv:
Libraries:
Datasets
Dask
sshon-asapp commited on
Commit
bc664a9
·
1 Parent(s): 484fbc8

Update slue-phase-2.py

Browse files
Files changed (1) hide show
  1. slue-phase-2.py +1 -1
slue-phase-2.py CHANGED
@@ -433,7 +433,7 @@ class SLUE2(datasets.GeneratorBasedBuilder):
433
  if self.config.name == "ted":
434
  split = "test" if "test" in filepath else "dev" if "dev" in filepath else "train"
435
  audio_file = os.path.join(
436
- f"{data_dir}_{split},split,
437
  row["id"] + ".flac"
438
  )
439
  if "title" not in row:
 
433
  if self.config.name == "ted":
434
  split = "test" if "test" in filepath else "dev" if "dev" in filepath else "train"
435
  audio_file = os.path.join(
436
+ f"{data_dir}_{split}", split,
437
  row["id"] + ".flac"
438
  )
439
  if "title" not in row: