yogesh-venkat commited on
Commit
dadd604
·
verified ·
1 Parent(s): 552ecea

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -831,7 +831,7 @@ from your webcam and run YOLOv8 detection on it.
831
  conf_threshold=conf_th,
832
  )
833
 
834
- st.image(result["annotated_image"], caption="Detections", width=520)
835
  st.write(f"YOLO inference time: {result['yolo_inference_time_sec']*1000:.1f} ms")
836
  st.write(f"Number of detections: {len(result['detections'])}")
837
  if result["detections"]:
 
831
  conf_threshold=conf_th,
832
  )
833
 
834
+ st.image(result["annotated_image"], caption="Detections", width='stretch')
835
  st.write(f"YOLO inference time: {result['yolo_inference_time_sec']*1000:.1f} ms")
836
  st.write(f"Number of detections: {len(result['detections'])}")
837
  if result["detections"]: