Update my_model/state_manager.py
Browse files
my_model/state_manager.py
CHANGED
@@ -293,7 +293,7 @@ class StateManager:
|
|
293 |
st.text("Analyzing the image .. ")
|
294 |
caption = st.session_state['kbvqa'].get_caption(img)
|
295 |
st.text("DDDDDDDDD")
|
296 |
-
image_with_boxes, detected_objects_str =
|
297 |
st.text("TTTTTT")
|
298 |
return caption, detected_objects_str, image_with_boxes
|
299 |
|
|
|
293 |
st.text("Analyzing the image .. ")
|
294 |
caption = st.session_state['kbvqa'].get_caption(img)
|
295 |
st.text("DDDDDDDDD")
|
296 |
+
image_with_boxes, detected_objects_str = st.session_state['kbvqa'].detect_objects(img)
|
297 |
st.text("TTTTTT")
|
298 |
return caption, detected_objects_str, image_with_boxes
|
299 |
|