m7mdal7aj commited on
Commit
3cb74bc
1 Parent(s): 72a377a

Update my_model/tabs/run_inference.py

Browse files
Files changed (1) hide show
  1. my_model/tabs/run_inference.py +3 -1
my_model/tabs/run_inference.py CHANGED
@@ -114,7 +114,9 @@ def run_inference():
114
  else:
115
  state_manager.reload_detection_model()
116
  st.success("Model reloaded with updated settings and ready for inference.")
117
-
 
 
118
  if state_manager.is_model_loaded() and st.session_state.kbvqa.all_models_loaded:
119
  image_qa_app(state_manager.get_model())
120
  else:
 
114
  else:
115
  state_manager.reload_detection_model()
116
  st.success("Model reloaded with updated settings and ready for inference.")
117
+ st.write(st.session_state.kbvqa.all_models_loaded)
118
+ st.write(st.session_state.kbvqa.all_models_loaded())
119
+ st.write(st.session_state.kbvqa)
120
  if state_manager.is_model_loaded() and st.session_state.kbvqa.all_models_loaded:
121
  image_qa_app(state_manager.get_model())
122
  else: