taroii commited on
Commit
e19a6c7
·
1 Parent(s): 46e65a1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -2
app.py CHANGED
@@ -28,8 +28,6 @@ def query(image):
28
  labels = [f"{id2label[class_id]} {confidence:.2f}" for _, confidence, class_id, _ in detections]
29
  frame = box_annotator.annotate(scene=image.copy(), detections=detections, labels=labels)
30
 
31
- print('detections')
32
- %matplotlib inline
33
  plot_image(frame, (16, 16))
34
 
35
  return labels, frame
 
28
  labels = [f"{id2label[class_id]} {confidence:.2f}" for _, confidence, class_id, _ in detections]
29
  frame = box_annotator.annotate(scene=image.copy(), detections=detections, labels=labels)
30
 
 
 
31
  plot_image(frame, (16, 16))
32
 
33
  return labels, frame