Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -64,7 +64,7 @@ def process_images(params):
|
|
| 64 |
solutions = create_solutions(image_urls, all_bboxes, all_bboxes2) # Create solutions with image URLs and bounding boxes
|
| 65 |
|
| 66 |
result_url = f"{api}/{job_id}"
|
| 67 |
-
|
| 68 |
|
| 69 |
return json.dumps({"solutions": solutions}, indent=4)
|
| 70 |
|
|
|
|
| 64 |
solutions = create_solutions(image_urls, all_bboxes, all_bboxes2) # Create solutions with image URLs and bounding boxes
|
| 65 |
|
| 66 |
result_url = f"{api}/{job_id}"
|
| 67 |
+
send_results_to_api(solutions, result_url)
|
| 68 |
|
| 69 |
return json.dumps({"solutions": solutions}, indent=4)
|
| 70 |
|