Datasets:
Update build_database.py
Browse files- build_database.py +2 -2
build_database.py
CHANGED
|
@@ -58,8 +58,8 @@ class EMBERConfig(datasets.GeneratorBasedBuilder):
|
|
| 58 |
)
|
| 59 |
|
| 60 |
def _split_generators(self, dl_manager):
|
| 61 |
-
_URLS = {}
|
| 62 |
-
_URLS = "https://huggingface.co/datasets/cw1521/ember2018-malware-v2"
|
| 63 |
urls = _URLS[self.config.name]
|
| 64 |
data_dir = dl_manager.download_and_extract(urls)
|
| 65 |
return [
|
|
|
|
| 58 |
)
|
| 59 |
|
| 60 |
def _split_generators(self, dl_manager):
|
| 61 |
+
# _URLS = {}
|
| 62 |
+
_URLS = "https://huggingface.co/datasets/cw1521/ember2018-malware-v2/tree/main/data"
|
| 63 |
urls = _URLS[self.config.name]
|
| 64 |
data_dir = dl_manager.download_and_extract(urls)
|
| 65 |
return [
|