Spaces:
Sleeping
Sleeping
Commit
·
eb37114
1
Parent(s):
76ac1d3
predictions
Browse files
app.py
CHANGED
@@ -61,10 +61,10 @@ def on_click():
|
|
61 |
st.image(image, use_column_width=True)
|
62 |
image = image.convert('RGB')
|
63 |
predictions = model_prediction(np.array(image))
|
64 |
-
st.write(
|
65 |
print(
|
66 |
"This image most likely belongs to {}."
|
67 |
-
.format(
|
68 |
)
|
69 |
|
70 |
st.button('Predict', on_click=on_click)
|
|
|
61 |
st.image(image, use_column_width=True)
|
62 |
image = image.convert('RGB')
|
63 |
predictions = model_prediction(np.array(image))
|
64 |
+
st.write(predictions)
|
65 |
print(
|
66 |
"This image most likely belongs to {}."
|
67 |
+
.format(predictions)
|
68 |
)
|
69 |
|
70 |
st.button('Predict', on_click=on_click)
|