khalidalt commited on
Commit
0102053
1 Parent(s): 51841c2

Update HuffPost.py

Browse files
Files changed (1) hide show
  1. HuffPost.py +0 -2
HuffPost.py CHANGED
@@ -123,8 +123,6 @@ class HuffPost(datasets.GeneratorBasedBuilder):
123
  def _generate_examples(self, filepath):
124
  with open(filepath, encoding="utf-8") as f:
125
  for key, row in enumerate(f):
126
- print(row)
127
- assert False
128
  data = json.loads(row)
129
  data['label'] = data['category']
130
  # Yields examples as (key, example) tuples
123
  def _generate_examples(self, filepath):
124
  with open(filepath, encoding="utf-8") as f:
125
  for key, row in enumerate(f):
 
 
126
  data = json.loads(row)
127
  data['label'] = data['category']
128
  # Yields examples as (key, example) tuples