Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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])
|