Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -38,7 +38,7 @@ def create_solutions(image_urls, all_bboxes, all_bboxes2):
|
|
| 38 |
seg = [[]]
|
| 39 |
|
| 40 |
ans = {"segmentation": seg,"area": area,"iscrowd": 0,"image_id": img_id,"bbox": box,"category_id": category_id,"id": box_id}
|
| 41 |
-
obj = {"url": image_url, "answer": [ans]}
|
| 42 |
solutions.append(obj)
|
| 43 |
box_id += 1
|
| 44 |
img_id += 1
|
|
|
|
| 38 |
seg = [[]]
|
| 39 |
|
| 40 |
ans = {"segmentation": seg,"area": area,"iscrowd": 0,"image_id": img_id,"bbox": box,"category_id": category_id,"id": box_id}
|
| 41 |
+
obj = {"url": image_url, "answer": [ans], "qcUser" : None }
|
| 42 |
solutions.append(obj)
|
| 43 |
box_id += 1
|
| 44 |
img_id += 1
|