drmurataltun commited on
Commit
7a17e02
·
verified ·
1 Parent(s): ad05d30

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -27,5 +27,6 @@ if file is not None:
27
  st.image(img, caption='Yüklenen resim')
28
  image = process_image(img)
29
  prediction = model.predict(image)
 
30
  predicted_class = np.argmax(prediction)
31
  st.write(class_names[predicted_class])
 
27
  st.image(img, caption='Yüklenen resim')
28
  image = process_image(img)
29
  prediction = model.predict(image)
30
+ st.write(prediction[0])
31
  predicted_class = np.argmax(prediction)
32
  st.write(class_names[predicted_class])