beki commited on
Commit
1341016
1 Parent(s): 07ac30c

Update privy.py

Browse files
Files changed (1) hide show
  1. privy.py +3 -2
privy.py CHANGED
@@ -30,8 +30,9 @@ _CITATION="""
30
  _HOMEPAGE = "https://github.com/pixie-io/pixie/tree/main/src/datagen/pii/privy/privy"
31
 
32
  _LICENSE = "MIT"
 
33
 
34
- class NewDataset(datasets.GeneratorBasedBuilder):
35
  VERSION = datasets.Version("1.0.0")
36
 
37
  # You will be able to load one or the other configurations in the following list with
@@ -225,7 +226,7 @@ class NewDataset(datasets.GeneratorBasedBuilder):
225
  )
226
 
227
  def _split_generators(self, dl_manager):
228
- data_dir = os.getcwd()
229
  size = "small"
230
  if self.config.name == "large": # This is the name of the configuration selected in BUILDER_CONFIGS above
231
  size = "large"
 
30
  _HOMEPAGE = "https://github.com/pixie-io/pixie/tree/main/src/datagen/pii/privy/privy"
31
 
32
  _LICENSE = "MIT"
33
+ _URL = "https://docs.google.com/uc?export=download&id=1LFPCD-D4n6e3Xz3bHZi5pkevF379eOI0"
34
 
35
+ class Privy(datasets.GeneratorBasedBuilder):
36
  VERSION = datasets.Version("1.0.0")
37
 
38
  # You will be able to load one or the other configurations in the following list with
 
226
  )
227
 
228
  def _split_generators(self, dl_manager):
229
+ data_dir = dl_manager.download_and_extract(_URL)
230
  size = "small"
231
  if self.config.name == "large": # This is the name of the configuration selected in BUILDER_CONFIGS above
232
  size = "large"