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

Update my_model/state_manager.py

Browse files
Files changed (1) hide show
  1. my_model/state_manager.py +2 -1
my_model/state_manager.py CHANGED
@@ -221,10 +221,11 @@ class StateManager:
221
  try:
222
  free_gpu_resources()
223
  if self.is_model_loaded:
224
-
225
  if st.session_state['detection_model'] == st.session_state['previous_state']['detection_model']\
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
 
221
  try:
222
  free_gpu_resources()
223
  if self.is_model_loaded:
224
+ st.text("tttttt")
225
  if st.session_state['detection_model'] == st.session_state['previous_state']['detection_model']\
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.text("aaaaa")
229
  st.session_state['kbvqa'].detection_confidence = st.session_state.confidence_level
230
  st.text("HHHHHH")
231
  return # only update the confidence level