yogesh-venkat commited on
Commit
46e81ec
·
verified ·
1 Parent(s): f53ca94

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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='520')
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"]: