JaredBailey commited on
Commit
48ba8ee
·
verified ·
1 Parent(s): 277b364

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -242,6 +242,7 @@ if st.session_state.screen == 2:
242
  st.rerun()
243
 
244
  # plot predicted image
 
245
  im_bgr = st.session_state.results[st.session_state.image_counter].plot() # BGR-order numpy array
246
  im_rgb = Image.fromarray(im_bgr[..., ::-1]) # RGB-order PIL image
247
  st.image(im_rgb)
 
242
  st.rerun()
243
 
244
  # plot predicted image
245
+ st.markdown(f"<h4 style='text-align: center; color: black;'>Image {str(st.session_state.image_counter + 1)}</h4>", unsafe_allow_html=True)
246
  im_bgr = st.session_state.results[st.session_state.image_counter].plot() # BGR-order numpy array
247
  im_rgb = Image.fromarray(im_bgr[..., ::-1]) # RGB-order PIL image
248
  st.image(im_rgb)