saritha5 commited on
Commit
27c45bf
·
1 Parent(s): 1859f7d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
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
- #st.("The image is", '\033[1m' + str(predicted_label) + '\033[0m', "with the score value of" +str(round(variance_score,2)))
 
 
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)