Update app.py
Browse files
app.py
CHANGED
|
@@ -104,6 +104,7 @@ def perform_object_detection(image, model_name, threshold):
|
|
| 104 |
try:
|
| 105 |
# Perform object detection and draw bounding boxes
|
| 106 |
processed_image, detected_objects = detector.detect_and_draw_objects(image, model_name, threshold)
|
|
|
|
| 107 |
return processed_image, detected_objects
|
| 108 |
except Exception as e:
|
| 109 |
# Print the error for debugging
|
|
|
|
| 104 |
try:
|
| 105 |
# Perform object detection and draw bounding boxes
|
| 106 |
processed_image, detected_objects = detector.detect_and_draw_objects(image, model_name, threshold)
|
| 107 |
+
st.write("66666666666666")
|
| 108 |
return processed_image, detected_objects
|
| 109 |
except Exception as e:
|
| 110 |
# Print the error for debugging
|