Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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['
|
| 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:
|