Update my_model/tabs/run_inference.py
Browse files
my_model/tabs/run_inference.py
CHANGED
@@ -96,7 +96,7 @@ def process_new_image(image_key, image, kbvqa):
|
|
96 |
def run_inference():
|
97 |
|
98 |
state_manager.initialize_state()
|
99 |
-
|
100 |
st.title("Run Inference")
|
101 |
|
102 |
|
@@ -111,6 +111,9 @@ def run_inference():
|
|
111 |
step=0.1,
|
112 |
slider_key_name='confidence_level'
|
113 |
)
|
|
|
|
|
|
|
114 |
|
115 |
# state_manager.update_model_settings(detection_model=detection_model, confidence_level=confidence_level, selected_method=method)
|
116 |
|
|
|
96 |
def run_inference():
|
97 |
|
98 |
state_manager.initialize_state()
|
99 |
+
state_manager.display_session_state()
|
100 |
st.title("Run Inference")
|
101 |
|
102 |
|
|
|
111 |
step=0.1,
|
112 |
slider_key_name='confidence_level'
|
113 |
)
|
114 |
+
|
115 |
+
st.text("after slider")
|
116 |
+
state_manager.display_session_state()
|
117 |
|
118 |
# state_manager.update_model_settings(detection_model=detection_model, confidence_level=confidence_level, selected_method=method)
|
119 |
|