Update app.py
Browse files
app.py
CHANGED
@@ -94,7 +94,7 @@ if canvas_result.image_data is not None:
|
|
94 |
image1 = cv2.resize(image1,(28,28))
|
95 |
st.image(image1)
|
96 |
|
97 |
-
image1.resize(1,28,28
|
98 |
st.title(np.argmax(cnn.predict(image1)))
|
99 |
if canvas_result.json_data is not None:
|
100 |
st.dataframe(pd.json_normalize(canvas_result.json_data["objects"]))
|
|
|
94 |
image1 = cv2.resize(image1,(28,28))
|
95 |
st.image(image1)
|
96 |
|
97 |
+
image1.resize(1,1,28,28)
|
98 |
st.title(np.argmax(cnn.predict(image1)))
|
99 |
if canvas_result.json_data is not None:
|
100 |
st.dataframe(pd.json_normalize(canvas_result.json_data["objects"]))
|