Fix Python syntax typo

#1
by albertvillanova HF staff - opened
Files changed (1) hide show
  1. 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
- yeild data['query_id'], data
 
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