Spaces:
Sleeping
Sleeping
ddovidovich
commited on
Commit
·
af95754
1
Parent(s):
20edbfa
Update app.py
Browse files
app.py
CHANGED
@@ -115,7 +115,7 @@ if image_file is not None:
|
|
115 |
img_cv=np.reshape(img_cv,(1,512,512,1))
|
116 |
predict_img=model.predict(img_cv)
|
117 |
# predict=predict_img[1,:,:,0]
|
118 |
-
plt.imsave("
|
119 |
|
120 |
## Plotting - Пример результата
|
121 |
img = cv2.imread(image_file)
|
|
|
115 |
img_cv=np.reshape(img_cv,(1,512,512,1))
|
116 |
predict_img=model.predict(img_cv)
|
117 |
# predict=predict_img[1,:,:,0]
|
118 |
+
plt.imsave("predict.png",predict_img)
|
119 |
|
120 |
## Plotting - Пример результата
|
121 |
img = cv2.imread(image_file)
|