yuansui commited on
Commit
798e792
·
1 Parent(s): bd9f9e5

Update GitTables.py

Browse files
Files changed (1) hide show
  1. GitTables.py +1 -1
GitTables.py CHANGED
@@ -157,7 +157,7 @@ class GitTables(datasets.GeneratorBasedBuilder):
157
  print(filepath)
158
  print(filepath)
159
  print(filepath)
160
- with open(filepath) as file:
161
  json_file = json.load(file)
162
  print(json_file)
163
  with jsonlines.open(rf"{filepath}", mode="r") as reader:
 
157
  print(filepath)
158
  print(filepath)
159
  print(filepath)
160
+ with open(filepath + ".json") as file:
161
  json_file = json.load(file)
162
  print(json_file)
163
  with jsonlines.open(rf"{filepath}", mode="r") as reader: