Update my_model/utilities/state_manager.py
Browse files
my_model/utilities/state_manager.py
CHANGED
@@ -12,7 +12,7 @@ class StateManager:
|
|
12 |
def initialize_state(self):
|
13 |
if 'images_data' not in st.session_state:
|
14 |
st.session_state['images_data'] = {}
|
15 |
-
if '
|
16 |
st.session_state['method'] = None
|
17 |
if 'detection_model' not in st.session_state:
|
18 |
st.session_state['detection_model'] = None
|
|
|
12 |
def initialize_state(self):
|
13 |
if 'images_data' not in st.session_state:
|
14 |
st.session_state['images_data'] = {}
|
15 |
+
if 'method' 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
|