Datasets:
solve titles
Browse files- 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]
|