Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -889,7 +889,7 @@ from your webcam and run YOLOv8 detection on it.
|
|
| 889 |
conf_threshold=conf_th,
|
| 890 |
)
|
| 891 |
|
| 892 |
-
st.image(result["annotated_image"], caption="Detections", width='
|
| 893 |
st.write(f"YOLO inference time: {result['yolo_inference_time_sec']*1000:.1f} ms")
|
| 894 |
st.write(f"Number of detections: {len(result['detections'])}")
|
| 895 |
if result["detections"]:
|
|
|
|
| 889 |
conf_threshold=conf_th,
|
| 890 |
)
|
| 891 |
|
| 892 |
+
st.image(result["annotated_image"], caption="Detections", width='content')
|
| 893 |
st.write(f"YOLO inference time: {result['yolo_inference_time_sec']*1000:.1f} ms")
|
| 894 |
st.write(f"Number of detections: {len(result['detections'])}")
|
| 895 |
if result["detections"]:
|