Spaces:
Running
Running
Commit
·
668abbc
1
Parent(s):
d068fe8
Update app.py
Browse files
app.py
CHANGED
|
@@ -54,7 +54,7 @@ try:
|
|
| 54 |
st.image(image, width=256, caption='Uploaded Image')
|
| 55 |
if st.button('Predict'):
|
| 56 |
|
| 57 |
-
img = labels[np.argmax(prediction[0], axis=-1)]
|
| 58 |
|
| 59 |
print("---------------img-array---------------------")
|
| 60 |
print(img[np.newaxis, ...])
|
|
|
|
| 54 |
st.image(image, width=256, caption='Uploaded Image')
|
| 55 |
if st.button('Predict'):
|
| 56 |
|
| 57 |
+
img = labels[np.argmax(prediction[0], axis=-1)]
|
| 58 |
|
| 59 |
print("---------------img-array---------------------")
|
| 60 |
print(img[np.newaxis, ...])
|