logeswari commited on
Commit
b29dbd3
·
1 Parent(s): 10b46e1
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -3,7 +3,7 @@ import cv2
3
  import numpy as np
4
  from PIL import Image
5
 
6
- st.markdown("<h1 style='color:white;'>Image Processing(comparison view)</h1>", unsafe_allow_html=True)
7
 
8
  # Upload image in the sidebar
9
  uploaded_file = st.sidebar.file_uploader("Upload an Image", type=["png", "jpg", "jpeg"])
@@ -13,7 +13,7 @@ if uploaded_file is not None:
13
  img_array = np.array(image)
14
 
15
  # Select an operation using a dropdown
16
- option = st.selectbox("Choose an operation:", [
17
  "None", "Convert to Grayscale", "Rotate Image", "Apply Text Overlay", "Blur Image", "Convert to Color Space", "Edge Detection"
18
  ])
19
 
 
3
  import numpy as np
4
  from PIL import Image
5
 
6
+ st.title("Image Processing\n(Comparison View)")
7
 
8
  # Upload image in the sidebar
9
  uploaded_file = st.sidebar.file_uploader("Upload an Image", type=["png", "jpg", "jpeg"])
 
13
  img_array = np.array(image)
14
 
15
  # Select an operation using a dropdown
16
+ option = st.selectbox("Choose an comparison:", [
17
  "None", "Convert to Grayscale", "Rotate Image", "Apply Text Overlay", "Blur Image", "Convert to Color Space", "Edge Detection"
18
  ])
19