Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -66,17 +66,7 @@ if uploaded_image is not None and uploaded_query is not None and start_button:
|
|
66 |
y = box[3] + 25
|
67 |
|
68 |
plt.imshow(img[:,:,::-1])
|
69 |
-
|
70 |
-
cx ,
|
71 |
-
cy ,
|
72 |
-
ha="left",
|
73 |
-
va="top",
|
74 |
-
color="red",
|
75 |
-
bbox={
|
76 |
-
"facecolor": "white",
|
77 |
-
"edgecolor": "red",
|
78 |
-
"boxstyle": "square,pad=.3"
|
79 |
-
})
|
80 |
output_image = img[:,:,::-1]
|
81 |
st.image(output_image, caption='Predicted Image', use_column_width=True)
|
82 |
|
|
|
66 |
y = box[3] + 25
|
67 |
|
68 |
plt.imshow(img[:,:,::-1])
|
69 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
70 |
output_image = img[:,:,::-1]
|
71 |
st.image(output_image, caption='Predicted Image', use_column_width=True)
|
72 |
|