Update my_model/utilities/state_manager.py
Browse files
my_model/utilities/state_manager.py
CHANGED
@@ -14,11 +14,11 @@ class StateManager:
|
|
14 |
st.session_state['images_data'] = {}
|
15 |
if 'model_settings' not in st.session_state:
|
16 |
st.session_state['method'] = None
|
17 |
-
if 'detection_model'
|
18 |
st.session_state['detection_model'] = None
|
19 |
if 'kbvqa' not in st.session_state:
|
20 |
st.session_state['kbvqa'] = None
|
21 |
-
if 'confidence_level'
|
22 |
st.session_state['confidence_level'] = None
|
23 |
|
24 |
|
|
|
14 |
st.session_state['images_data'] = {}
|
15 |
if 'model_settings' not in st.session_state:
|
16 |
st.session_state['method'] = None
|
17 |
+
if 'detection_model' not in st.session_state:
|
18 |
st.session_state['detection_model'] = None
|
19 |
if 'kbvqa' not in st.session_state:
|
20 |
st.session_state['kbvqa'] = None
|
21 |
+
if 'confidence_level' not in st.session_state:
|
22 |
st.session_state['confidence_level'] = None
|
23 |
|
24 |
|