Spaces:
Running
Running
Update app.py
Browse files
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',
|
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',
|
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",
|