pratikshahp commited on
Commit
6ecf7e2
1 Parent(s): d3d4ae7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -51,6 +51,7 @@ if submit:
51
  draw.text((box[0], box[1]), label_text, fill="red")
52
 
53
  st.image(drawn_image, caption="Detected Objects", use_column_width=True)
 
54
  for score, label, box in zip(results["scores"], results["labels"], results["boxes"]):
55
  box = [round(i, 2) for i in box.tolist()]
56
  st.write(
 
51
  draw.text((box[0], box[1]), label_text, fill="red")
52
 
53
  st.image(drawn_image, caption="Detected Objects", use_column_width=True)
54
+ st.write("List of Objects:")
55
  for score, label, box in zip(results["scores"], results["labels"], results["boxes"]):
56
  box = [round(i, 2) for i in box.tolist()]
57
  st.write(