m7mdal7aj commited on
Commit
6f89bfd
·
verified ·
1 Parent(s): 1d68663

Update my_model/state_manager.py

Browse files
Files changed (1) hide show
  1. my_model/state_manager.py +1 -0
my_model/state_manager.py CHANGED
@@ -226,6 +226,7 @@ class StateManager:
226
  and st.session_state['method'] == st.session_state['previous_state']['method'] \
227
  and st.session_state['confidence_level'] != st.session_state['confidence_level']['method']:
228
  st.session_state['kbvqa'].detection_confidence = st.session_state.confidence_level
 
229
  return # only update the confidence level
230
 
231
  prepare_kbvqa_model(only_reload_detection_model=True)
 
226
  and st.session_state['method'] == st.session_state['previous_state']['method'] \
227
  and st.session_state['confidence_level'] != st.session_state['confidence_level']['method']:
228
  st.session_state['kbvqa'].detection_confidence = st.session_state.confidence_level
229
+ st.text("HHHHHH")
230
  return # only update the confidence level
231
 
232
  prepare_kbvqa_model(only_reload_detection_model=True)