fix: script
Browse files
ripe-strawberries-detection.py
CHANGED
@@ -115,10 +115,10 @@ class BotoxInjectionsBeforeAndAfter(datasets.GeneratorBasedBuilder):
|
|
115 |
|
116 |
attributes = []
|
117 |
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
|
123 |
shape_data = {
|
124 |
"label": label,
|
|
|
115 |
|
116 |
attributes = []
|
117 |
|
118 |
+
for attr in shape:
|
119 |
+
attr_name = attr.get("name")
|
120 |
+
attr_text = attr.text
|
121 |
+
attributes.append({"name": attr_name, "text": attr_text})
|
122 |
|
123 |
shape_data = {
|
124 |
"label": label,
|