zwn22 commited on
Commit
cf41aa4
1 Parent(s): e7e6431

Update NC_Crime.py

Browse files
Files changed (1) hide show
  1. NC_Crime.py +2 -2
NC_Crime.py CHANGED
@@ -86,10 +86,10 @@ class NCCrimeDataset(datasets.GeneratorBasedBuilder):
86
  "https://raw.githubusercontent.com/zening-wang2023/NC-Crime-Dataset/main/NC.csv.zip"
87
 
88
  )
89
- unzipped_file_path = os.path.join(downloaded_file_path, "NC.csv")
90
  # Return a list of split generators
91
  return [
92
- datasets.SplitGenerator(name=datasets.Split.TRAIN, gen_kwargs={"filepath": unzipped_file_path})
93
  ]
94
 
95
 
 
86
  "https://raw.githubusercontent.com/zening-wang2023/NC-Crime-Dataset/main/NC.csv.zip"
87
 
88
  )
89
+ # unzipped_file_path = os.path.join(downloaded_file_path, "NC.csv")
90
  # Return a list of split generators
91
  return [
92
+ datasets.SplitGenerator(name=datasets.Split.TRAIN, gen_kwargs={"filepath": downloaded_file_path})
93
  ]
94
 
95