Update librivox-indonesia.py
Browse filesIn 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.
- 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 = {}
|