AymanElmar commited on
Commit
2a00bca
·
1 Parent(s): ea4d195

changed joha.py

Browse files
Files changed (1) hide show
  1. joha.py +1 -1
joha.py CHANGED
@@ -61,7 +61,7 @@ class johaDataset(datasets.GeneratorBasedBuilder):
61
  for split in ["train", "test", "validation"]
62
  }
63
  # (Optional) In non-streaming mode, we can extract the archive locally to have actual local audio files:
64
- local_extracted_archive = dl_manager.extract(archive_path) if not dl_manager.is_streaming else None
65
 
66
  # To access the audio data from the TAR archives using the download manager,
67
  # we have to use the dl_manager.iter_archive method.
 
61
  for split in ["train", "test", "validation"]
62
  }
63
  # (Optional) In non-streaming mode, we can extract the archive locally to have actual local audio files:
64
+ local_extracted_archive = dl_manager.extract(archive_path)
65
 
66
  # To access the audio data from the TAR archives using the download manager,
67
  # we have to use the dl_manager.iter_archive method.