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