Loyage commited on
Commit
7e13616
1 Parent(s): 2989b9d

Update startimes_luganda_recording.py

Browse files
Files changed (1) hide show
  1. startimes_luganda_recording.py +1 -3
startimes_luganda_recording.py CHANGED
@@ -64,10 +64,8 @@ class StartimesLugandaRecording(datasets.GeneratorBasedBuilder):
64
  audio_urls = {}
65
  audio_urls["train"] = []
66
  for speaker, dates in _DATASET_DICT.items():
67
- url_list = []
68
  for date in dates:
69
- url_list.append(f"{_DATA_URL}/{date}-{speaker}.tar")
70
- audio_urls["train"].extend(url_list)
71
  archive_paths = dl_manager.download(audio_urls)
72
  local_extracted_archive_paths = (
73
  dl_manager.extract(archive_paths) if not dl_manager.is_streaming else {}
 
64
  audio_urls = {}
65
  audio_urls["train"] = []
66
  for speaker, dates in _DATASET_DICT.items():
 
67
  for date in dates:
68
+ audio_urls["train"].append(f"{_DATA_URL}/{date}-{speaker}.tar")
 
69
  archive_paths = dl_manager.download(audio_urls)
70
  local_extracted_archive_paths = (
71
  dl_manager.extract(archive_paths) if not dl_manager.is_streaming else {}