saritha5 commited on
Commit
30e948d
·
1 Parent(s): 0663771

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -129,11 +129,12 @@ else:
129
  #f = stringio.read()
130
  st.write(f)
131
  image1= Image.open(f)
 
132
  st.image(image1,use_column_width = True)
133
  #image_path = Path(f.name)
134
  #st.write(image_path)
135
 
136
- predicted_label,variance_score = occ_predict(str(f))
137
  #st.header(predicted_label)
138
  #st.header(str(round(variance_score,2)))
139
  string1 = "The image is," + predicted_label + " with the score value of " + str(round(variance_score,2))
 
129
  #f = stringio.read()
130
  st.write(f)
131
  image1= Image.open(f)
132
+ st.header('hello')
133
  st.image(image1,use_column_width = True)
134
  #image_path = Path(f.name)
135
  #st.write(image_path)
136
 
137
+ predicted_label,variance_score = occ_predict(f)
138
  #st.header(predicted_label)
139
  #st.header(str(round(variance_score,2)))
140
  string1 = "The image is," + predicted_label + " with the score value of " + str(round(variance_score,2))