Fix Python syntax typo
#1
by
albertvillanova
HF staff
- opened
- ESCI-product-dataset.py +1 -1
ESCI-product-dataset.py
CHANGED
@@ -75,4 +75,4 @@ class ESCIproduct(datasets.GeneratorBasedBuilder):
|
|
75 |
with open(filepath, encoding="utf-8") as f:
|
76 |
for line in f:
|
77 |
data = json.loads(line)
|
78 |
-
|
|
|
75 |
with open(filepath, encoding="utf-8") as f:
|
76 |
for line in f:
|
77 |
data = json.loads(line)
|
78 |
+
yield data['query_id'], data
|