Update my_model/tabs/run_inference.py
Browse files
my_model/tabs/run_inference.py
CHANGED
@@ -95,13 +95,11 @@ def process_new_image(image_key, image, kbvqa):
|
|
95 |
|
96 |
def run_inference():
|
97 |
|
|
|
98 |
state_manager.initialize_state()
|
|
|
99 |
state_manager.display_session_state()
|
100 |
-
st.title("Run Inference")
|
101 |
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
state_manager.display_model_settings()
|
106 |
# state_manager.update_model_settings(detection_model=detection_model, confidence_level=confidence_level, selected_method=method)
|
107 |
|
|
|
95 |
|
96 |
def run_inference():
|
97 |
|
98 |
+
st.title("Run Inference")
|
99 |
state_manager.initialize_state()
|
100 |
+
state_manager.set_up_widgets()
|
101 |
state_manager.display_session_state()
|
|
|
102 |
|
|
|
|
|
|
|
103 |
state_manager.display_model_settings()
|
104 |
# state_manager.update_model_settings(detection_model=detection_model, confidence_level=confidence_level, selected_method=method)
|
105 |
|