yonatanbitton commited on
Commit
f94184e
1 Parent(s): 092250a

Update winogavil.py

Browse files
Files changed (1) hide show
  1. winogavil.py +1 -1
winogavil.py CHANGED
@@ -109,7 +109,7 @@ class Winogavil(datasets.GeneratorBasedBuilder):
109
  for r_idx, r in df.iterrows():
110
  r_dict = r.to_dict()
111
  r_dict['candidates'] = json.loads(r_dict['candidates'])
112
- candidates_images = [get_img_url(x) for x in r['candidates'][
113
  r['candidates_images'] = candidates_images
114
  r_dict['associations'] = json.loads(r_dict['associations'])
115
  key = r['ID']
 
109
  for r_idx, r in df.iterrows():
110
  r_dict = r.to_dict()
111
  r_dict['candidates'] = json.loads(r_dict['candidates'])
112
+ candidates_images = [get_img_url(x) for x in r['candidates']]
113
  r['candidates_images'] = candidates_images
114
  r_dict['associations'] = json.loads(r_dict['associations'])
115
  key = r['ID']