Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -247,7 +247,7 @@ if image_file is not None:
|
|
247 |
cols[2].markdown('#### :orange[Original image]')
|
248 |
cnt_img_ori = cols[2].container(height=300, border=False)
|
249 |
#cnt_img_ori.image(img_cv2) #, use_container_width=True)
|
250 |
-
cnt_img_ori.pyplot(get_img_fig(img_cv2), use_container_width
|
251 |
col1, col2 = st.columns([0.5, 0.5]) #gap="medium")
|
252 |
|
253 |
col1.markdown('#### :orange[Processed image]')
|
@@ -385,7 +385,7 @@ if image_file is not None:
|
|
385 |
st.exception(e)
|
386 |
|
387 |
# Show image
|
388 |
-
img_processed.pyplot(get_img_fig(img_wrk), use_container_width
|
389 |
st.session_state.processed_image = img_wrk
|
390 |
|
391 |
# Process
|
|
|
247 |
cols[2].markdown('#### :orange[Original image]')
|
248 |
cnt_img_ori = cols[2].container(height=300, border=False)
|
249 |
#cnt_img_ori.image(img_cv2) #, use_container_width=True)
|
250 |
+
cnt_img_ori.pyplot(get_img_fig(img_cv2), use_container_width=True)
|
251 |
col1, col2 = st.columns([0.5, 0.5]) #gap="medium")
|
252 |
|
253 |
col1.markdown('#### :orange[Processed image]')
|
|
|
385 |
st.exception(e)
|
386 |
|
387 |
# Show image
|
388 |
+
img_processed.pyplot(get_img_fig(img_wrk), use_container_width=True)
|
389 |
st.session_state.processed_image = img_wrk
|
390 |
|
391 |
# Process
|