nishantguvvada commited on
Commit
a9ea4ad
·
1 Parent(s): e645000
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -47,7 +47,7 @@ def model_prediction(path):
47
  plt.show()
48
  resize = tf.image.resize(img, (256,256))
49
  with st.spinner('Model is being loaded..'):
50
- model=load_model()
51
  yhat = model.predict(np.expand_dims(resize/255, 0))
52
  if(yhat>0.5):
53
  print("Prediction is loose")
 
47
  plt.show()
48
  resize = tf.image.resize(img, (256,256))
49
  with st.spinner('Model is being loaded..'):
50
+ model=load_model()
51
  yhat = model.predict(np.expand_dims(resize/255, 0))
52
  if(yhat>0.5):
53
  print("Prediction is loose")