Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -15,6 +15,5 @@ if uploaded_file is not None:
|
|
| 15 |
# Convert to grayscale using OpenCV
|
| 16 |
gray_img = cv2.cvtColor(img_array, cv2.COLOR_RGB2GRAY)
|
| 17 |
|
| 18 |
-
#
|
| 19 |
st.image(gray_img, caption="Grayscale Image", use_container_width=True, clamp=True)
|
| 20 |
-
|
|
|
|
| 15 |
# Convert to grayscale using OpenCV
|
| 16 |
gray_img = cv2.cvtColor(img_array, cv2.COLOR_RGB2GRAY)
|
| 17 |
|
| 18 |
+
# Display grayscale image
|
| 19 |
st.image(gray_img, caption="Grayscale Image", use_container_width=True, clamp=True)
|
|
|