cloverhxy commited on
Commit
ac9c963
1 Parent(s): 24a2da2

Update semi-homo.py

Browse files
Files changed (1) hide show
  1. 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)