Spaces:
Runtime error
Runtime error
Commit ·
7912d90
1
Parent(s): 60b91a7
Update app.py
Browse files
app.py
CHANGED
|
@@ -133,6 +133,8 @@ def predict_beetle(img):
|
|
| 133 |
image_edge_buffer=50)
|
| 134 |
image_lst = pre_process.col_image_lst
|
| 135 |
print("Objects detected")
|
|
|
|
|
|
|
| 136 |
print(f"Processing duration: {processing_time} seconds")
|
| 137 |
# get predictions for all segments
|
| 138 |
conf_dict_lst = []
|
|
|
|
| 133 |
image_edge_buffer=50)
|
| 134 |
image_lst = pre_process.col_image_lst
|
| 135 |
print("Objects detected")
|
| 136 |
+
end_time = time.perf_counter()
|
| 137 |
+
processing_time = end_time - start_time
|
| 138 |
print(f"Processing duration: {processing_time} seconds")
|
| 139 |
# get predictions for all segments
|
| 140 |
conf_dict_lst = []
|