wzzanthony7 commited on
Commit
ec9588e
·
verified ·
1 Parent(s): c6bf613

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -201,7 +201,7 @@ def generate_textual_description(box_info):
201
  if kept_zero:
202
  kept_zero_boxes.append(zero_box)
203
  kept_one_boxes = []
204
- for one_box in class_summary['fraction']:
205
  kept_one = True
206
  for fra_box in class_summary['fraction']:
207
  if getOverlap(fra_box, one_box) >= 0.5:
 
201
  if kept_zero:
202
  kept_zero_boxes.append(zero_box)
203
  kept_one_boxes = []
204
+ for one_box in class_summary['one']:
205
  kept_one = True
206
  for fra_box in class_summary['fraction']:
207
  if getOverlap(fra_box, one_box) >= 0.5: