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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -51,7 +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
- 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(
 
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.subheader("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(