Update app.py
Browse files
app.py
CHANGED
|
@@ -69,7 +69,7 @@ uploaded_file = st.file_uploader("Upload an Image", type=["jpg", "jpeg", "png"])
|
|
| 69 |
if uploaded_file:
|
| 70 |
# Load image
|
| 71 |
image = Image.open(uploaded_file)
|
| 72 |
-
st.image(image, caption="Uploaded Image",
|
| 73 |
|
| 74 |
# Sidebar Tools
|
| 75 |
st.sidebar.title("Editing Tools")
|
|
@@ -126,7 +126,7 @@ if uploaded_file:
|
|
| 126 |
st.error(f"Error during enhancement: {e}")
|
| 127 |
|
| 128 |
# Display Enhanced Image
|
| 129 |
-
st.image(image, caption="Enhanced Image",
|
| 130 |
|
| 131 |
# Download Button
|
| 132 |
buf = io.BytesIO()
|
|
|
|
| 69 |
if uploaded_file:
|
| 70 |
# Load image
|
| 71 |
image = Image.open(uploaded_file)
|
| 72 |
+
st.image(image, caption="Uploaded Image", use_container_width=True)
|
| 73 |
|
| 74 |
# Sidebar Tools
|
| 75 |
st.sidebar.title("Editing Tools")
|
|
|
|
| 126 |
st.error(f"Error during enhancement: {e}")
|
| 127 |
|
| 128 |
# Display Enhanced Image
|
| 129 |
+
st.image(image, caption="Enhanced Image", use_container_width=True)
|
| 130 |
|
| 131 |
# Download Button
|
| 132 |
buf = io.BytesIO()
|