Spaces:
Sleeping
Sleeping
Commit
·
c7dc050
1
Parent(s):
eb98b37
Update app.py
Browse files
app.py
CHANGED
@@ -102,7 +102,8 @@ if img_file_buffer is not None:
|
|
102 |
# cv2.putText(im,prediction_label)
|
103 |
img = cv2.putText(image1, '% s' %(prediction_label), (p-10, q-10),cv2.FONT_HERSHEY_COMPLEX_SMALL,2, (0,0,255))
|
104 |
st.image(img, use_column_width=True)
|
105 |
-
|
|
|
106 |
|
107 |
|
108 |
# ##############
|
|
|
102 |
# cv2.putText(im,prediction_label)
|
103 |
img = cv2.putText(image1, '% s' %(prediction_label), (p-10, q-10),cv2.FONT_HERSHEY_COMPLEX_SMALL,2, (0,0,255))
|
104 |
st.image(img, use_column_width=True)
|
105 |
+
else:
|
106 |
+
st.write("FAiled")
|
107 |
|
108 |
|
109 |
# ##############
|