Spaces:
Runtime error
Runtime error
John Smith
commited on
Commit
·
82e76f8
1
Parent(s):
8fd9060
Update app.py
Browse files
app.py
CHANGED
@@ -15,8 +15,7 @@ def image_mod(image):
|
|
15 |
resize = tf.image.resize(img, (256, 256))
|
16 |
plt.imshow(resize.numpy().astype(int))
|
17 |
yhat = model.predict(np.expand_dims(resize,0))
|
18 |
-
|
19 |
-
yhat = "None"
|
20 |
#display = np.argmax(yhat)
|
21 |
#display = str(display)
|
22 |
#if display == "0":
|
|
|
15 |
resize = tf.image.resize(img, (256, 256))
|
16 |
plt.imshow(resize.numpy().astype(int))
|
17 |
yhat = model.predict(np.expand_dims(resize,0))
|
18 |
+
str(yhat)
|
|
|
19 |
#display = np.argmax(yhat)
|
20 |
#display = str(display)
|
21 |
#if display == "0":
|