Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -72,6 +72,7 @@ else:
|
|
72 |
image= Image.open(file)
|
73 |
st.image(image,use_column_width = True)
|
74 |
predicted_label,variance_score = blurr_predict(file)
|
75 |
-
st.header(predicted_label)
|
76 |
-
st.header(str(round(variance_score,2)))
|
77 |
-
|
|
|
|
72 |
image= Image.open(file)
|
73 |
st.image(image,use_column_width = True)
|
74 |
predicted_label,variance_score = blurr_predict(file)
|
75 |
+
#st.header(predicted_label)
|
76 |
+
#st.header(str(round(variance_score,2)))
|
77 |
+
string = "The image is,"+'\033[1m' + str(predicted_label) + '\033[0m', "with the score value of" + str(round(variance_score,2))
|
78 |
+
st.success(string)
|