Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -90,7 +90,7 @@ def estimate_co2(image):
|
|
| 90 |
)
|
| 91 |
)
|
| 92 |
|
| 93 |
-
json_data =
|
| 94 |
boxes_with_labels, data = parse_info(resized_image, json_data)
|
| 95 |
return [resized_image, boxes_with_labels], data
|
| 96 |
|
|
|
|
| 90 |
)
|
| 91 |
)
|
| 92 |
|
| 93 |
+
json_data = parse_json(response.text)
|
| 94 |
boxes_with_labels, data = parse_info(resized_image, json_data)
|
| 95 |
return [resized_image, boxes_with_labels], data
|
| 96 |
|