m7mdal7aj commited on
Commit
240ab25
1 Parent(s): a1bb21b

Update my_model/utilities/state_manager.py

Browse files
my_model/utilities/state_manager.py CHANGED
@@ -49,6 +49,7 @@ class StateManager:
49
  free_gpu_resources()
50
  st.text("Loading the model, this should take no more than a few minutes, please wait...")
51
  st.session_state['kbvqa'] = prepare_kbvqa_model(st.session_state.detection_model)
 
52
  st.session_state['kbvqa'].detection_confidence = st.session_state.confidence_level
53
  #self.update_model_settings(detection_model, confidence_level)
54
  st.text("Model is ready for inference.")
 
49
  free_gpu_resources()
50
  st.text("Loading the model, this should take no more than a few minutes, please wait...")
51
  st.session_state['kbvqa'] = prepare_kbvqa_model(st.session_state.detection_model)
52
+ st.text("AAAAAAA")
53
  st.session_state['kbvqa'].detection_confidence = st.session_state.confidence_level
54
  #self.update_model_settings(detection_model, confidence_level)
55
  st.text("Model is ready for inference.")