Beasto commited on
Commit
dc1e94f
·
verified ·
1 Parent(s): b60edda

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -62,7 +62,6 @@ button = st.button("Predict", type="primary")
62
  # Do something interesting with the image data and paths
63
  if button is not None:
64
  if canvas_result.image_data is not None:
65
- st.image(canvas_result.image_data)
66
  img = np.array(canvas_result.image_data)
67
  img_rgb = Image.fromarray(img).convert("RGB")
68
  img = np.array(img_rgb)
 
62
  # Do something interesting with the image data and paths
63
  if button is not None:
64
  if canvas_result.image_data is not None:
 
65
  img = np.array(canvas_result.image_data)
66
  img_rgb = Image.fromarray(img).convert("RGB")
67
  img = np.array(img_rgb)