phusroyal commited on
Commit
b6ba4e6
·
1 Parent(s): 16edac0

Update ViHOS.py

Browse files
Files changed (1) hide show
  1. ViHOS.py +2 -2
ViHOS.py CHANGED
@@ -65,8 +65,8 @@ class ViHOS(datasets.GeneratorBasedBuilder):
65
  def _generate_examples(self, filepath, split):
66
  # colnames=['id', 'Content', 'Span ids']
67
  with open(filepath, 'r', encoding="utf-8") as f:
68
- for i, line in enumerate(f):
69
- data = self.load_csv(line)
70
  yield data
71
 
72
  # with open(filepath, 'r', encoding="utf-8") as f:
 
65
  def _generate_examples(self, filepath, split):
66
  # colnames=['id', 'Content', 'Span ids']
67
  with open(filepath, 'r', encoding="utf-8") as f:
68
+ print(f)
69
+ data = self.load_csv(f)
70
  yield data
71
 
72
  # with open(filepath, 'r', encoding="utf-8") as f: