Dodon commited on
Commit
e4c98f7
·
1 Parent(s): e10691c

Update PlotQA_dataset.py

Browse files
Files changed (1) hide show
  1. PlotQA_dataset.py +1 -1
PlotQA_dataset.py CHANGED
@@ -139,7 +139,7 @@ class PlotQA(datasets.GeneratorBasedBuilder):
139
  ),
140
  ]
141
 
142
- def find_qa(self, annotation_v1_path:str, annotation_v2_path:str, img_idx):
143
  with open(annotation_v1_path, "r", encoding="utf-8") as v1:
144
  data_v1 = json.load(v1)
145
 
 
139
  ),
140
  ]
141
 
142
+ def find_qa(self, annotation_v1_path:str, annotation_v2_path:str, img_idx:int):
143
  with open(annotation_v1_path, "r", encoding="utf-8") as v1:
144
  data_v1 = json.load(v1)
145