Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -31,7 +31,7 @@ import h5py
|
|
31 |
st.title("""
|
32 |
Image Blurriness Occluded
|
33 |
""")
|
34 |
-
|
35 |
model_file_path = "mobile_net_occ.h5"
|
36 |
|
37 |
##Blurriness Features
|
@@ -66,7 +66,7 @@ def blurr_predict(img_iter):
|
|
66 |
|
67 |
#image_path = "images_11.jpeg"
|
68 |
file = st.file_uploader('Upload an Image',type=(["jpeg","jpg","png"]))
|
69 |
-
|
70 |
if file is None:
|
71 |
st.write("Please upload an image file")
|
72 |
else:
|
|
|
31 |
st.title("""
|
32 |
Image Blurriness Occluded
|
33 |
""")
|
34 |
+
st.subheader("Prediction of Blur or NotBlur Image")
|
35 |
model_file_path = "mobile_net_occ.h5"
|
36 |
|
37 |
##Blurriness Features
|
|
|
66 |
|
67 |
#image_path = "images_11.jpeg"
|
68 |
file = st.file_uploader('Upload an Image',type=(["jpeg","jpg","png"]))
|
69 |
+
|
70 |
if file is None:
|
71 |
st.write("Please upload an image file")
|
72 |
else:
|