Update app.py
Browse files
app.py
CHANGED
@@ -44,6 +44,7 @@ if canvas_result.image_data is not None:
|
|
44 |
|
45 |
# Convert the canvas image data to a PIL image
|
46 |
image = Image.fromarray(canvas_result.image_data.astype('uint8'), 'RGBA').convert('RGB')
|
|
|
47 |
|
48 |
# Save the image to a temporary file
|
49 |
temp_image_path = "temp_drawing.png"
|
|
|
44 |
|
45 |
# Convert the canvas image data to a PIL image
|
46 |
image = Image.fromarray(canvas_result.image_data.astype('uint8'), 'RGBA').convert('RGB')
|
47 |
+
st.image(image)
|
48 |
|
49 |
# Save the image to a temporary file
|
50 |
temp_image_path = "temp_drawing.png"
|