Update my_model/tabs/run_inference.py
Browse files
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 |
-
|
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 |
"""
|