ddovidovich commited on
Commit
2f0b442
·
1 Parent(s): 0d33900

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -113,8 +113,8 @@ if image_file is not None:
113
 
114
  img_cv=np.reshape(img_cv,(1,512,512,1))
115
  predict_img=model.predict(img_cv)
116
- predict=predict_img[1,:,:,0]
117
- plt.imsave("/content/predict.png",predict)
118
 
119
  ## Plotting - Пример результата
120
  img = cv2.imread(image_file)
 
113
 
114
  img_cv=np.reshape(img_cv,(1,512,512,1))
115
  predict_img=model.predict(img_cv)
116
+ # predict=predict_img[1,:,:,0]
117
+ plt.imsave("/content/predict.png",predict_img)
118
 
119
  ## Plotting - Пример результата
120
  img = cv2.imread(image_file)