VishnuEcoClim commited on
Commit
d068fe8
·
1 Parent(s): 6efd78a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -54,6 +54,7 @@ try:
54
  st.image(image, width=256, caption='Uploaded Image')
55
  if st.button('Predict'):
56
 
 
57
 
58
  print("---------------img-array---------------------")
59
  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, ...])