Spaces:
Runtime error
Runtime error
Shrikrishna
commited on
Commit
•
7ad5b6c
1
Parent(s):
69989c9
Update app.py
Browse files
app.py
CHANGED
@@ -190,7 +190,7 @@ if uploaded_image is not None:
|
|
190 |
elif celeb == "Virendra Sehwag":
|
191 |
sehwag = cv2.imread("sehwag.jpg")
|
192 |
st.image(virat,width=150, caption='Virendra Sehwag')
|
193 |
-
|
194 |
st.header("Image Cannot be Classified!")
|
195 |
|
196 |
|
|
|
190 |
elif celeb == "Virendra Sehwag":
|
191 |
sehwag = cv2.imread("sehwag.jpg")
|
192 |
st.image(virat,width=150, caption='Virendra Sehwag')
|
193 |
+
except:
|
194 |
st.header("Image Cannot be Classified!")
|
195 |
|
196 |
|