thinh-researcher commited on
Commit
e2e5eda
·
1 Parent(s): 9a0bf16

Fix stale depth

Browse files
streamlit_apps/app_utils/image_inference.py CHANGED
@@ -29,6 +29,7 @@ def image_inference(
29
  if img_file_buffer is not None:
30
  image = Image.open(img_file_buffer).convert("RGB")
31
  st.image(image, caption="RGB")
 
32
 
33
  with col2:
34
  depth_file_buffer = st.file_uploader(
 
29
  if img_file_buffer is not None:
30
  image = Image.open(img_file_buffer).convert("RGB")
31
  st.image(image, caption="RGB")
32
+ st.session_state.depth = None
33
 
34
  with col2:
35
  depth_file_buffer = st.file_uploader(