Update semi-homo.py
Browse files- semi-homo.py +1 -1
semi-homo.py
CHANGED
@@ -72,7 +72,7 @@ class semiHomo(datasets.GeneratorBasedBuilder):
|
|
72 |
file = json.load(f)
|
73 |
for i in range(len(file)):
|
74 |
yield i, {
|
75 |
-
"content": file[i]
|
76 |
}
|
77 |
else:
|
78 |
file = pd.read_csv(path_file)
|
|
|
72 |
file = json.load(f)
|
73 |
for i in range(len(file)):
|
74 |
yield i, {
|
75 |
+
"content": json.dumps(file[i])
|
76 |
}
|
77 |
else:
|
78 |
file = pd.read_csv(path_file)
|