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