pratyyush commited on
Commit
563e7e3
·
verified ·
1 Parent(s): 80307ea

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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", use_column_width=True)
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", use_column_width=True)
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()