Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -171,9 +171,9 @@ if uploaded_files:
|
|
171 |
with image_col:
|
172 |
st.subheader("Processed Image")
|
173 |
if 'processed_img' in st.session_state:
|
174 |
-
st.image(st.session_state.processed_img,
|
175 |
else:
|
176 |
-
st.image(img,
|
177 |
|
178 |
with controls_col:
|
179 |
st.subheader("Image Controls")
|
@@ -195,7 +195,7 @@ if uploaded_files:
|
|
195 |
|
196 |
# Display Original Image Below
|
197 |
st.subheader("Original Image")
|
198 |
-
st.image(img,
|
199 |
|
200 |
# Save Options
|
201 |
st.markdown("---")
|
|
|
171 |
with image_col:
|
172 |
st.subheader("Processed Image")
|
173 |
if 'processed_img' in st.session_state:
|
174 |
+
st.image(st.session_state.processed_img, use_container_width=True, caption="Processed Image")
|
175 |
else:
|
176 |
+
st.image(img, use_container_width=True, caption="Processed Image")
|
177 |
|
178 |
with controls_col:
|
179 |
st.subheader("Image Controls")
|
|
|
195 |
|
196 |
# Display Original Image Below
|
197 |
st.subheader("Original Image")
|
198 |
+
st.image(img, use_container_width=True, caption="Original Image")
|
199 |
|
200 |
# Save Options
|
201 |
st.markdown("---")
|