Upload dave.py with huggingface_hub
Browse files
dave.py
CHANGED
@@ -96,6 +96,8 @@ class DaveDataset(datasets.GeneratorBasedBuilder):
|
|
96 |
def _generate_examples(self, json_path, downloaded_files):
|
97 |
with open(json_path, "r", encoding="utf-8") as f:
|
98 |
data = json.load(f)
|
|
|
|
|
99 |
|
100 |
for idx, item in enumerate(data):
|
101 |
for field in _MEDIA_FIELDS:
|
|
|
96 |
def _generate_examples(self, json_path, downloaded_files):
|
97 |
with open(json_path, "r", encoding="utf-8") as f:
|
98 |
data = json.load(f)
|
99 |
+
|
100 |
+
print(downloaded_files)
|
101 |
|
102 |
for idx, item in enumerate(data):
|
103 |
for field in _MEDIA_FIELDS:
|