Phaneendrabayi commited on
Commit
e14a481
·
verified ·
1 Parent(s): 191b3f5

Update pages/Life_cycle_of_ML.py

Browse files
Files changed (1) hide show
  1. pages/Life_cycle_of_ML.py +1 -1
pages/Life_cycle_of_ML.py CHANGED
@@ -545,7 +545,7 @@ def More():
545
  g_only = cv2.merge((b*0, g, r*0))
546
 
547
  # Set the blue and green channels to zero to keep only the red channel
548
- r_only = cv2.merge((b*0, g*0, g))
549
 
550
  # Display the individual channels and manipulated images
551
  st.image(b_only, caption="Blue Channel Only")
 
545
  g_only = cv2.merge((b*0, g, r*0))
546
 
547
  # Set the blue and green channels to zero to keep only the red channel
548
+ r_only = cv2.merge((b*0, g*0, r))
549
 
550
  # Display the individual channels and manipulated images
551
  st.image(b_only, caption="Blue Channel Only")