zwn22 commited on
Commit
5c0f39d
1 Parent(s): ba4da5b

Update NC_Crime.py

Browse files
Files changed (1) hide show
  1. NC_Crime.py +3 -3
NC_Crime.py CHANGED
@@ -89,11 +89,11 @@ class NCCrimeDataset(datasets.GeneratorBasedBuilder):
89
  #"https://drive.google.com/uc?export=download&id=1Se-B8Y-SdU0caZzGJyX_0YW44TZwaq3l"
90
 
91
  # "https://raw.githubusercontent.com/znw2024/NC-Crime/main/DCCR.csv"
92
- # "https://raw.githubusercontent.com/zening-wang2023/NC-Crime-Dataset/main/NC_dataset.csv.zip"
93
- "https://github.com/zening-wang2023/NC-Crime-Dataset/blob/main/NC_dataset.csv.zip"
94
 
95
  )
96
- unzipped_file_path = os.path.join(downloaded_file_path, "NC_dataset.csv")
97
  # Return a list of split generators
98
  return [
99
  datasets.SplitGenerator(name=datasets.Split.TRAIN, gen_kwargs={"filepath": unzipped_file_path})
 
89
  #"https://drive.google.com/uc?export=download&id=1Se-B8Y-SdU0caZzGJyX_0YW44TZwaq3l"
90
 
91
  # "https://raw.githubusercontent.com/znw2024/NC-Crime/main/DCCR.csv"
92
+ "https://raw.githubusercontent.com/zening-wang2023/NC-Crime-Dataset/main/DCCR.csv.zip"
93
+ # "https://raw.githubusercontent.com/zening-wang2023/NC-Crime-Dataset/main/NC_dataset.csv.zip"
94
 
95
  )
96
+ unzipped_file_path = os.path.join(downloaded_file_path, "DCCR.csv")
97
  # Return a list of split generators
98
  return [
99
  datasets.SplitGenerator(name=datasets.Split.TRAIN, gen_kwargs={"filepath": unzipped_file_path})