vkashko commited on
Commit
a258649
1 Parent(s): 04f5a23

fix: script

Browse files
Files changed (1) hide show
  1. ripe-strawberries-detection.py +4 -4
ripe-strawberries-detection.py CHANGED
@@ -115,10 +115,10 @@ class BotoxInjectionsBeforeAndAfter(datasets.GeneratorBasedBuilder):
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,
 
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,