Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -65,10 +65,10 @@ if image is not None:
|
|
| 65 |
input_image = cv2.imread(image) #read image
|
| 66 |
|
| 67 |
with st.spinner("🤖 AI is at Work! "):
|
| 68 |
-
|
| 69 |
-
|
| 70 |
-
|
| 71 |
-
|
| 72 |
else:
|
| 73 |
st.write("Upload an Image")
|
| 74 |
|
|
|
|
| 65 |
input_image = cv2.imread(image) #read image
|
| 66 |
|
| 67 |
with st.spinner("🤖 AI is at Work! "):
|
| 68 |
+
result = detect(input_image)
|
| 69 |
+
st.image(result) #display image
|
| 70 |
+
#st.success("Here you go!")
|
| 71 |
+
st.balloons()
|
| 72 |
else:
|
| 73 |
st.write("Upload an Image")
|
| 74 |
|