Update my_model/tabs/run_inference.py
Browse files
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:
|