Update my_model/tabs/run_inference.py
Browse files
my_model/tabs/run_inference.py
CHANGED
@@ -86,6 +86,7 @@ class InferenceRunner(StateManager):
|
|
86 |
nested_col21, nested_col22 = st.columns([0.65, 0.35])
|
87 |
image_for_display = self.resize_image(image_data['image'], 600)
|
88 |
nested_col21.image(image_for_display, caption=f'Uploaded Image: {image_key[-11:]}')
|
|
|
89 |
if not image_data['analysis_done'] or self.settings_changed or self.confidance_change: # if not done analysis before or even done but settings changed, then we need to analyze again
|
90 |
st.write("F")
|
91 |
nested_col22.text("Please click 'Analyze Image'..")
|
|
|
86 |
nested_col21, nested_col22 = st.columns([0.65, 0.35])
|
87 |
image_for_display = self.resize_image(image_data['image'], 600)
|
88 |
nested_col21.image(image_for_display, caption=f'Uploaded Image: {image_key[-11:]}')
|
89 |
+
st.write(image_data['analysis_done'] , self.settings_changed , self.confidance_change)
|
90 |
if not image_data['analysis_done'] or self.settings_changed or self.confidance_change: # if not done analysis before or even done but settings changed, then we need to analyze again
|
91 |
st.write("F")
|
92 |
nested_col22.text("Please click 'Analyze Image'..")
|