khalidalt commited on
Commit
194b0b2
·
1 Parent(s): 1074338

Update HuffPost.py

Browse files
Files changed (1) hide show
  1. HuffPost.py +1 -0
HuffPost.py CHANGED
@@ -122,6 +122,7 @@ class HuffPost(datasets.GeneratorBasedBuilder):
122
  # method parameters are unpacked from `gen_kwargs` as given in `_split_generators`
123
  def _generate_examples(self, filepath):
124
  print(filepath)
 
125
  with open(filepath, encoding="utf-8") as f:
126
  for key, row in enumerate(f):
127
  data = json.loads(row)
 
122
  # method parameters are unpacked from `gen_kwargs` as given in `_split_generators`
123
  def _generate_examples(self, filepath):
124
  print(filepath)
125
+ assert False
126
  with open(filepath, encoding="utf-8") as f:
127
  for key, row in enumerate(f):
128
  data = json.loads(row)