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

Update ViHOS.py

Browse files
Files changed (1) hide show
  1. ViHOS.py +1 -1
ViHOS.py CHANGED
@@ -66,7 +66,7 @@ class ViHOS(datasets.GeneratorBasedBuilder):
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(filepath)
70
  yield data
71
 
72
  # with open(filepath, 'r', encoding="utf-8") as f:
 
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: