Gosula commited on
Commit
4cb22d8
1 Parent(s): 07c3918

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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,1)
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"]))