Update my_model/state_manager.py
Browse files
my_model/state_manager.py
CHANGED
@@ -312,7 +312,6 @@ class StateManager:
|
|
312 |
tuple: A tuple containing the generated caption, detected objects string, and image with bounding boxes.
|
313 |
"""
|
314 |
img = copy.deepcopy(image)
|
315 |
-
st.text("Analyzing the image .. please wait")
|
316 |
caption = st.session_state['kbvqa'].get_caption(img)
|
317 |
image_with_boxes, detected_objects_str = st.session_state['kbvqa'].detect_objects(img)
|
318 |
free_gpu_resources()
|
|
|
312 |
tuple: A tuple containing the generated caption, detected objects string, and image with bounding boxes.
|
313 |
"""
|
314 |
img = copy.deepcopy(image)
|
|
|
315 |
caption = st.session_state['kbvqa'].get_caption(img)
|
316 |
image_with_boxes, detected_objects_str = st.session_state['kbvqa'].detect_objects(img)
|
317 |
free_gpu_resources()
|