yuxin commited on
Commit
13a8b4d
1 Parent(s): 89939b6
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -120,6 +120,7 @@ if st.session_state.option is not None and \
120
  st.session_state.data_item = process_ct_gt(st.session_state.option)
121
  st.session_state.reset_demo_case = False
122
  st.session_state.preds_3D = None
 
123
 
124
  prompt_col1, prompt_col2 = st.columns(2)
125
 
@@ -288,6 +289,7 @@ with col1:
288
  disabled=(st.session_state.option is None or (len(st.session_state.points)==0 and not st.session_state.use_box_prompt and st.session_state.preds_3D is None))):
289
  clear_prompts()
290
  st.session_state.preds_3D = None
 
291
  st.rerun()
292
 
293
  with col2:
 
120
  st.session_state.data_item = process_ct_gt(st.session_state.option)
121
  st.session_state.reset_demo_case = False
122
  st.session_state.preds_3D = None
123
+ st.session_state.preds_3D_ori = None
124
 
125
  prompt_col1, prompt_col2 = st.columns(2)
126
 
 
289
  disabled=(st.session_state.option is None or (len(st.session_state.points)==0 and not st.session_state.use_box_prompt and st.session_state.preds_3D is None))):
290
  clear_prompts()
291
  st.session_state.preds_3D = None
292
+ st.session_state.preds_3D_ori = None
293
  st.rerun()
294
 
295
  with col2: