indolem commited on
Commit
333f652
·
1 Parent(s): defebf8

Update indo_story_cloze.py

Browse files
Files changed (1) hide show
  1. indo_story_cloze.py +1 -1
indo_story_cloze.py CHANGED
@@ -62,7 +62,7 @@ class IndoStoryCloze(datasets.GeneratorBasedBuilder):
62
  ]
63
 
64
  def _generate_examples(self, data_file):
65
- data = csv.DictReader(open(data_file), newline='')
66
  for i, row in enumerate(data):
67
  yield i, {
68
  "sentence-1": row['Kalimat-1'],
 
62
  ]
63
 
64
  def _generate_examples(self, data_file):
65
+ data = csv.DictReader(open(data_file, newline=''))
66
  for i, row in enumerate(data):
67
  yield i, {
68
  "sentence-1": row['Kalimat-1'],