Blanca commited on
Commit
178e154
1 Parent(s): e6f2bf9

solve titles

Browse files
Files changed (1) hide show
  1. guiacat.py +2 -0
guiacat.py CHANGED
@@ -95,6 +95,8 @@ class GuiaCat(datasets.GeneratorBasedBuilder):
95
  with open(filepath) as f:
96
  read = csv.reader(f)
97
  data = [item for item in read]
 
 
98
  for id_, article in enumerate(data):
99
  text = article[5]
100
  label = article[6]
 
95
  with open(filepath) as f:
96
  read = csv.reader(f)
97
  data = [item for item in read]
98
+ text = ""
99
+ label = ""
100
  for id_, article in enumerate(data):
101
  text = article[5]
102
  label = article[6]