Update my_model/state_manager.py
Browse files
my_model/state_manager.py
CHANGED
@@ -298,7 +298,8 @@ class StateManager:
|
|
298 |
st.text("Analyzing the image .. please wait")
|
299 |
caption = st.session_state['kbvqa'].get_caption(img)
|
300 |
image_with_boxes, detected_objects_str = st.session_state['kbvqa'].detect_objects(img)
|
301 |
-
|
|
|
302 |
return caption, detected_objects_str, image_with_boxes
|
303 |
|
304 |
|
|
|
298 |
st.text("Analyzing the image .. please wait")
|
299 |
caption = st.session_state['kbvqa'].get_caption(img)
|
300 |
image_with_boxes, detected_objects_str = st.session_state['kbvqa'].detect_objects(img)
|
301 |
+
st.write("inside analyze", st.session_state['confidence_level'])
|
302 |
+
st.write(detected_objects_str)
|
303 |
return caption, detected_objects_str, image_with_boxes
|
304 |
|
305 |
|