yonatanbitton
commited on
Commit
•
c603c24
1
Parent(s):
f94184e
Update winogavil.py
Browse files- winogavil.py +1 -1
winogavil.py
CHANGED
@@ -110,7 +110,7 @@ class Winogavil(datasets.GeneratorBasedBuilder):
|
|
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 |
-
|
114 |
r_dict['associations'] = json.loads(r_dict['associations'])
|
115 |
key = r['ID']
|
116 |
yield key, r_dict
|
|
|
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_dict['candidates_images'] = candidates_images
|
114 |
r_dict['associations'] = json.loads(r_dict['associations'])
|
115 |
key = r['ID']
|
116 |
yield key, r_dict
|