Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -70,6 +70,8 @@ if file_name is not None:
|
|
| 70 |
plot_img_bbox(image, nms_prediction)
|
| 71 |
pred = np.array(Image.open("pred.jpg"))
|
| 72 |
col2.image(pred, use_column_width=True)
|
|
|
|
|
|
|
| 73 |
|
| 74 |
|
| 75 |
|
|
|
|
| 70 |
plot_img_bbox(image, nms_prediction)
|
| 71 |
pred = np.array(Image.open("pred.jpg"))
|
| 72 |
col2.image(pred, use_column_width=True)
|
| 73 |
+
word = "Number of palm trees detected : "+str(len(nms_prediction["boxes"]))
|
| 74 |
+
st.write(word)
|
| 75 |
|
| 76 |
|
| 77 |
|