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")
|
@@ -192,7 +192,7 @@ if uploaded_files:
|
|
192 |
|
193 |
# Display Original Image Below
|
194 |
st.subheader("Original Image")
|
195 |
-
st.image(img,
|
196 |
|
197 |
# Save and Export Options
|
198 |
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, caption="Processed Image")
|
175 |
else:
|
176 |
+
st.image(img, caption="Processed Image")
|
177 |
|
178 |
with controls_col:
|
179 |
st.subheader("Image Controls")
|
|
|
192 |
|
193 |
# Display Original Image Below
|
194 |
st.subheader("Original Image")
|
195 |
+
st.image(img, use_container_width=True, caption="Original Image")
|
196 |
|
197 |
# Save and Export Options
|
198 |
st.markdown("---")
|