m7mdal7aj commited on
Commit
bf83ded
1 Parent(s): a984aef

Update my_model/tabs/run_inference.py

Browse files
Files changed (1) hide show
  1. my_model/tabs/run_inference.py +1 -1
my_model/tabs/run_inference.py CHANGED
@@ -246,7 +246,7 @@ class InferenceRunner(StateManager):
246
 
247
  if self.is_model_loaded and self.settings_changed:
248
  self.col1.warning("Model settings have changed, please reload the model, this will take a second .. ")
249
- self.update_prev_state()
250
  st.session_state.button_label = (
251
  "Reload Model" if (self.is_model_loaded and
252
  st.session_state.kbvqa.detection_model != st.session_state['detection_model']) or
 
246
 
247
  if self.is_model_loaded and self.settings_changed:
248
  self.col1.warning("Model settings have changed, please reload the model, this will take a second .. ")
249
+ # self.update_prev_state()
250
  st.session_state.button_label = (
251
  "Reload Model" if (self.is_model_loaded and
252
  st.session_state.kbvqa.detection_model != st.session_state['detection_model']) or