Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -195,9 +195,9 @@ if uploaded_files:
|
|
195 |
with image_col:
|
196 |
st.subheader("Processed Image")
|
197 |
if 'processed_img' in st.session_state:
|
198 |
-
st.image(st.session_state.processed_img,
|
199 |
else:
|
200 |
-
st.image(img,
|
201 |
|
202 |
with controls_col:
|
203 |
st.subheader("Image Controls")
|
@@ -216,7 +216,7 @@ if uploaded_files:
|
|
216 |
|
217 |
# Display Original Image Below
|
218 |
st.subheader("Original Image")
|
219 |
-
st.image(img,
|
220 |
|
221 |
# Save and Export Options
|
222 |
st.markdown("---")
|
|
|
195 |
with image_col:
|
196 |
st.subheader("Processed Image")
|
197 |
if 'processed_img' in st.session_state:
|
198 |
+
st.image(st.session_state.processed_img, use_container_width=True, caption="Processed Image")
|
199 |
else:
|
200 |
+
st.image(img, use_container_width=True, caption="Processed Image")
|
201 |
|
202 |
with controls_col:
|
203 |
st.subheader("Image Controls")
|
|
|
216 |
|
217 |
# Display Original Image Below
|
218 |
st.subheader("Original Image")
|
219 |
+
st.image(img, use_container_width=True, caption="Original Image")
|
220 |
|
221 |
# Save and Export Options
|
222 |
st.markdown("---")
|