Update sci_lay.py
Browse files- sci_lay.py +2 -1
sci_lay.py
CHANGED
|
@@ -5,6 +5,7 @@ import json
|
|
| 5 |
import os
|
| 6 |
|
| 7 |
import datasets
|
|
|
|
| 8 |
|
| 9 |
_HOMEPAGE = ""
|
| 10 |
|
|
@@ -130,7 +131,7 @@ class SciLay(datasets.GeneratorBasedBuilder):
|
|
| 130 |
]
|
| 131 |
for split, split_name in _SPLIT_NAMES.items()
|
| 132 |
}
|
| 133 |
-
raise Exception(f"paths creati = {paths}")
|
| 134 |
return [
|
| 135 |
datasets.SplitGenerator(
|
| 136 |
name=split,
|
|
|
|
| 5 |
import os
|
| 6 |
|
| 7 |
import datasets
|
| 8 |
+
from datasets.download.streaming_download_manager import FilesIterable
|
| 9 |
|
| 10 |
_HOMEPAGE = ""
|
| 11 |
|
|
|
|
| 131 |
]
|
| 132 |
for split, split_name in _SPLIT_NAMES.items()
|
| 133 |
}
|
| 134 |
+
raise Exception(f"paths creati = {[file_path for file_path in paths]}")
|
| 135 |
return [
|
| 136 |
datasets.SplitGenerator(
|
| 137 |
name=split,
|