Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -28,7 +28,7 @@ uploaded_image = st.file_uploader("Drag and drop an image here, or click to sele
|
|
28 |
# Display the uploaded image
|
29 |
if uploaded_image is not None:
|
30 |
# Read the image
|
31 |
-
image =
|
32 |
|
33 |
# Display the image
|
34 |
st.image(image, caption="Uploaded Image", use_column_width=True)
|
|
|
28 |
# Display the uploaded image
|
29 |
if uploaded_image is not None:
|
30 |
# Read the image
|
31 |
+
image = image.open(uploaded_image)
|
32 |
|
33 |
# Display the image
|
34 |
st.image(image, caption="Uploaded Image", use_column_width=True)
|