Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -66,6 +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 |
if file is None:
|
70 |
st.write("Please upload an image file")
|
71 |
else:
|
@@ -75,4 +76,4 @@ else:
|
|
75 |
#st.header(predicted_label)
|
76 |
#st.header(str(round(variance_score,2)))
|
77 |
string = "The image is," + str(predicted_label) + " with the score value of " + str(round(variance_score,2))
|
78 |
-
st.
|
|
|
66 |
|
67 |
#image_path = "images_11.jpeg"
|
68 |
file = st.file_uploader('Upload an Image',type=(["jpeg","jpg","png"]))
|
69 |
+
st.subheader("Prediction of Blur or NotBlur Image")
|
70 |
if file is None:
|
71 |
st.write("Please upload an image file")
|
72 |
else:
|
|
|
76 |
#st.header(predicted_label)
|
77 |
#st.header(str(round(variance_score,2)))
|
78 |
string = "The image is," + str(predicted_label) + " with the score value of " + str(round(variance_score,2))
|
79 |
+
st.markdown(string)
|