Update my_model/tabs/run_inference.py
Browse files
my_model/tabs/run_inference.py
CHANGED
@@ -79,6 +79,11 @@ class InferenceRunner(StateManager):
|
|
79 |
|
80 |
def run_inference(self):
|
81 |
self.set_up_widgets()
|
|
|
|
|
|
|
|
|
|
|
82 |
st.session_state['settings_changed'] = self.has_state_changed()
|
83 |
if st.session_state['settings_changed']:
|
84 |
self.col1.warning("Model settings have changed, please reload the model, this will take a second .. ")
|
|
|
79 |
|
80 |
def run_inference(self):
|
81 |
self.set_up_widgets()
|
82 |
+
load_fine_tuned_model = False
|
83 |
+
fine_tuned_model_already_loaded = False
|
84 |
+
reload_detection_model = False
|
85 |
+
force_reload_full_model = False
|
86 |
+
|
87 |
st.session_state['settings_changed'] = self.has_state_changed()
|
88 |
if st.session_state['settings_changed']:
|
89 |
self.col1.warning("Model settings have changed, please reload the model, this will take a second .. ")
|