Upload data.py with huggingface_hub
Browse files
data.py
CHANGED
@@ -108,7 +108,7 @@ class Dataset(datasets.GeneratorBasedBuilder):
|
|
108 |
if "type" not in args:
|
109 |
args["type"] = "common_recipe"
|
110 |
recipe = Artifact.from_dict(args)
|
111 |
-
|
112 |
return self._generators
|
113 |
|
114 |
def _info(self):
|
|
|
108 |
if "type" not in args:
|
109 |
args["type"] = "common_recipe"
|
110 |
recipe = Artifact.from_dict(args)
|
111 |
+
self._generators = recipe()
|
112 |
return self._generators
|
113 |
|
114 |
def _info(self):
|