Mtkhang90 commited on
Commit
bc6b824
·
verified ·
1 Parent(s): 5ea5833

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
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
- # Convert back to image format for display
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)