wics commited on
Commit
f9c74cf
·
1 Parent(s): 2ce688e

Update NCR.py

Browse files
Files changed (1) hide show
  1. NCR.py +1 -1
NCR.py CHANGED
@@ -102,7 +102,7 @@ class NCR(datasets.GeneratorBasedBuilder):
102
  return text.replace(".", ". ").strip()
103
 
104
  with open(filepath, encoding="utf-8") as f:
105
- data = json.loads(f.read().decode("utf-8"))
106
  questions = data["Questions"]
107
  for i in range(len(questions)):
108
  question = questions[i]
 
102
  return text.replace(".", ". ").strip()
103
 
104
  with open(filepath, encoding="utf-8") as f:
105
+ data = json.loads(f.read())
106
  questions = data["Questions"]
107
  for i in range(len(questions)):
108
  question = questions[i]