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