m7mdal7aj commited on
Commit
87fb74c
1 Parent(s): dc73693

Update my_model/tabs/run_inference.py

Browse files
Files changed (1) hide show
  1. my_model/tabs/run_inference.py +2 -3
my_model/tabs/run_inference.py CHANGED
@@ -121,9 +121,8 @@ class InferenceRunner(StateManager):
121
  self.display_question_answering_interface(image_key, image_data, nested_col22)
122
 
123
  if self.settings_changed or self.confidance_change:
124
- nested_col22.warning("Confidence level changed, please click 'Analyze Image'.")
125
- nested_col22.write(self.settings_changed)
126
- nested_col22.write(self.confidance_change)
127
 
128
  def display_question_answering_interface(self, image_key: str, image_data: Dict, nested_col22: st.columns) -> None:
129
  """
 
121
  self.display_question_answering_interface(image_key, image_data, nested_col22)
122
 
123
  if self.settings_changed or self.confidance_change:
124
+ nested_col22.warning("Confidence level changed, please click 'Analyze Image' each time you change it.")
125
+
 
126
 
127
  def display_question_answering_interface(self, image_key: str, image_data: Dict, nested_col22: st.columns) -> None:
128
  """