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