sameer505 commited on
Commit
4d5e982
·
1 Parent(s): f8d71f7
milling_processes_LUH__testing_propuses.py CHANGED
@@ -27,6 +27,8 @@ _LICENSE = "CC BY 4.0"
27
  # This can be an arbitrary nested dict/list of URLs (see below in `_split_generators` method)
28
  _URLS = {
29
  "first_domain": "data"
 
 
30
  }
31
 
32
 
@@ -102,8 +104,8 @@ class MillingProcessesLUH(datasets.GeneratorBasedBuilder):
102
  # dl_manager is a datasets.download.DownloadManager that can be used to download and extract URLS
103
  # It can accept any type or nested list/dict and will give back the same structure with the url replaced with path to local files.
104
  # By default the archives will be extracted and a path to a cached folder where they are extracted is returned instead of the archive
105
- urls = _URLS[self.config.name]
106
- data_dir = dl_manager.download_and_extract(urls)
107
  return [
108
  datasets.SplitGenerator(
109
  name=datasets.Split.TRAIN,
 
27
  # This can be an arbitrary nested dict/list of URLs (see below in `_split_generators` method)
28
  _URLS = {
29
  "first_domain": "data"
30
+
31
+ # "first_domain": "https://huggingface.co/datasets/sameer505/milling_processes_LUH__testing_propuses/resolve/main/data"
32
  }
33
 
34
 
 
104
  # dl_manager is a datasets.download.DownloadManager that can be used to download and extract URLS
105
  # It can accept any type or nested list/dict and will give back the same structure with the url replaced with path to local files.
106
  # By default the archives will be extracted and a path to a cached folder where they are extracted is returned instead of the archive
107
+ # urls = _URLS[self.config.name]
108
+ data_dir = dl_manager.download_and_extract(_URLS["first_domain"])
109
  return [
110
  datasets.SplitGenerator(
111
  name=datasets.Split.TRAIN,