Spaces:
Runtime error
Runtime error
diqitalize
commited on
Commit
•
e6ee110
1
Parent(s):
7dd79f2
Kerang 9
Browse files
app.py
CHANGED
@@ -63,6 +63,7 @@ else:
|
|
63 |
image = tf.image.resize(image, [180, 180])
|
64 |
|
65 |
image = np.expand_dims(image, axis = 0)
|
|
|
66 |
|
67 |
pred = model.predict(np.asarray(image))
|
68 |
|
|
|
63 |
image = tf.image.resize(image, [180, 180])
|
64 |
|
65 |
image = np.expand_dims(image, axis = 0)
|
66 |
+
image = image / 255
|
67 |
|
68 |
pred = model.predict(np.asarray(image))
|
69 |
|