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