Datasets:
anjalyjayakrishnan
commited on
Commit
·
d428d4d
1
Parent(s):
0c324d5
error fix
Browse files
test.py
CHANGED
@@ -148,8 +148,8 @@ class Test(datasets.GeneratorBasedBuilder):
|
|
148 |
print("---------------------------------")
|
149 |
print(key, type(key))
|
150 |
print(row, type(row))
|
151 |
-
|
152 |
-
|
153 |
yield key, {
|
154 |
"sentence": data["sentence"],
|
155 |
"path": data["path"],
|
|
|
148 |
print("---------------------------------")
|
149 |
print(key, type(key))
|
150 |
print(row, type(row))
|
151 |
+
data = json.loads(row)
|
152 |
+
print(data)
|
153 |
yield key, {
|
154 |
"sentence": data["sentence"],
|
155 |
"path": data["path"],
|