Update wit-dataset.py
Browse files- wit-dataset.py +1 -1
wit-dataset.py
CHANGED
@@ -194,7 +194,7 @@ class WIT(datasets.GeneratorBasedBuilder):
|
|
194 |
|
195 |
with open(filepath, encoding="utf-8") as f:
|
196 |
lines = f.readlines()
|
197 |
-
headline =
|
198 |
|
199 |
column_names = headline.strip().split('\t')
|
200 |
assert (
|
|
|
194 |
|
195 |
with open(filepath, encoding="utf-8") as f:
|
196 |
lines = f.readlines()
|
197 |
+
headline = lines[0]
|
198 |
|
199 |
column_names = headline.strip().split('\t')
|
200 |
assert (
|