saritha5 commited on
Commit
5657ed0
·
1 Parent(s): f4f2405

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -48,7 +48,7 @@ def blurr_predict(img_iter):
48
  def make_prediction(img_content):
49
  pil_image = Image.open(img_content)
50
  imgplot = plt.imshow(pil_image)
51
- st.pyplot(pil_image)
52
  plt.show()
53
  gray_cvimage = cv2.cvtColor(np.array(pil_image), cv2.COLOR_RGB2GRAY)
54
  #print(gray_cvimage)
 
48
  def make_prediction(img_content):
49
  pil_image = Image.open(img_content)
50
  imgplot = plt.imshow(pil_image)
51
+ st,image(pil_image)
52
  plt.show()
53
  gray_cvimage = cv2.cvtColor(np.array(pil_image), cv2.COLOR_RGB2GRAY)
54
  #print(gray_cvimage)