Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -79,7 +79,7 @@ canvas_result = st_canvas(
|
|
| 79 |
|
| 80 |
# Prediction logic
|
| 81 |
if canvas_result.image_data is not None:
|
| 82 |
-
st.image(canvas_result.image_data, caption="🖼️ Your Drawing", use_column_width=True)
|
| 83 |
|
| 84 |
# Preprocess
|
| 85 |
img = cv2.cvtColor(canvas_result.image_data.astype("uint8"), cv2.COLOR_RGBA2GRAY)
|
|
|
|
| 79 |
|
| 80 |
# Prediction logic
|
| 81 |
if canvas_result.image_data is not None:
|
| 82 |
+
#st.image(canvas_result.image_data, caption="🖼️ Your Drawing", use_column_width=True)
|
| 83 |
|
| 84 |
# Preprocess
|
| 85 |
img = cv2.cvtColor(canvas_result.image_data.astype("uint8"), cv2.COLOR_RGBA2GRAY)
|