Bakht11 commited on
Commit
62e80fe
·
verified ·
1 Parent(s): 53e2356

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -13,7 +13,7 @@ if uploaded_file is not None:
13
  image = Image.open(uploaded_file)
14
 
15
  # Display the original image
16
- st.image(image, caption='Original Image', use_column_width=True)
17
 
18
  # Brightness adjustment
19
  st.sidebar.header("Adjust Brightness")
@@ -28,7 +28,7 @@ if uploaded_file is not None:
28
  enhanced_image_contrast = enhancer_contrast.enhance(contrast)
29
 
30
  # Show the enhanced image
31
- st.image(enhanced_image_contrast, caption='Enhanced Image', use_column_width=True)
32
 
33
  # Option to download the enhanced image
34
  st.sidebar.download_button("Download Enhanced Image",
 
13
  image = Image.open(uploaded_file)
14
 
15
  # Display the original image
16
+ st.image(image, caption='Original Image', use_container_width=True)
17
 
18
  # Brightness adjustment
19
  st.sidebar.header("Adjust Brightness")
 
28
  enhanced_image_contrast = enhancer_contrast.enhance(contrast)
29
 
30
  # Show the enhanced image
31
+ st.image(enhanced_image_contrast, caption='Enhanced Image', use_container_width=True)
32
 
33
  # Option to download the enhanced image
34
  st.sidebar.download_button("Download Enhanced Image",