Spaces:
Sleeping
Sleeping
ddovidovich
commited on
Commit
·
0d33900
1
Parent(s):
7be5e7c
Update app.py
Browse files
app.py
CHANGED
@@ -117,7 +117,7 @@ if image_file is not None:
|
|
117 |
plt.imsave("/content/predict.png",predict)
|
118 |
|
119 |
## Plotting - Пример результата
|
120 |
-
img = cv2.imread(
|
121 |
|
122 |
predict1 = cv2.resize(predict, (img.shape[1], img.shape[0]), interpolation=cv2.INTER_LANCZOS4)
|
123 |
|
|
|
117 |
plt.imsave("/content/predict.png",predict)
|
118 |
|
119 |
## Plotting - Пример результата
|
120 |
+
img = cv2.imread(image_file)
|
121 |
|
122 |
predict1 = cv2.resize(predict, (img.shape[1], img.shape[0]), interpolation=cv2.INTER_LANCZOS4)
|
123 |
|