Spaces:
Runtime error
Runtime error
John Smith
commited on
Commit
·
e071497
1
Parent(s):
24d3233
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ import cv2
|
|
6 |
model = load_model('eee.keras')
|
7 |
|
8 |
def image_mod(image_mod):
|
9 |
-
img = cv2.imread(
|
10 |
resize = tf.image.resize(img, (256, 256))
|
11 |
plt.imshow(resize.numpy().astype(int))
|
12 |
yhat = model.predict(np.expand_dims(resize,0))
|
|
|
6 |
model = load_model('eee.keras')
|
7 |
|
8 |
def image_mod(image_mod):
|
9 |
+
img = cv2.imread("Sunny_day_in_Hiroo.jpg")
|
10 |
resize = tf.image.resize(img, (256, 256))
|
11 |
plt.imshow(resize.numpy().astype(int))
|
12 |
yhat = model.predict(np.expand_dims(resize,0))
|