Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -21,7 +21,7 @@ def ui():
|
|
| 21 |
cv2.drawContours(rgb, cnt, -1, (0, 255, 0), 2)
|
| 22 |
|
| 23 |
st.image(rgb, width = 500, channels = 'RGB')
|
| 24 |
-
st.markdown("Counted Items are
|
| 25 |
|
| 26 |
if __name__ == '__main__':
|
| 27 |
ui()
|
|
|
|
| 21 |
cv2.drawContours(rgb, cnt, -1, (0, 255, 0), 2)
|
| 22 |
|
| 23 |
st.image(rgb, width = 500, channels = 'RGB')
|
| 24 |
+
st.markdown(f"Counted Items are:{len(cnt)}")
|
| 25 |
|
| 26 |
if __name__ == '__main__':
|
| 27 |
ui()
|