anggiatm commited on
Commit
c6e4227
1 Parent(s): 0adcd5a

Update librivox-indonesia.py

Browse files

In the ```datasets``` library version 3.0.0, I encountered the error ```TypeError: DownloadConfig.__init__() got an unexpected keyword argument 'ignore_url_params'``` when using ```load_dataset()```. I believe this line is unnecessary: ```dl_manager.download_config.ignore_url_params = True```. I tried it locally, and it worked fine when I commented out that line.

Files changed (1) hide show
  1. librivox-indonesia.py +1 -1
librivox-indonesia.py CHANGED
@@ -103,7 +103,7 @@ class LibriVoxIndonesia(datasets.GeneratorBasedBuilder):
103
 
104
  def _split_generators(self, dl_manager):
105
  """Returns SplitGenerators."""
106
- dl_manager.download_config.ignore_url_params = True
107
  audio_path = {}
108
  local_extracted_archive = {}
109
  metadata_path = {}
 
103
 
104
  def _split_generators(self, dl_manager):
105
  """Returns SplitGenerators."""
106
+ # dl_manager.download_config.ignore_url_params = True
107
  audio_path = {}
108
  local_extracted_archive = {}
109
  metadata_path = {}