m7mdal7aj commited on
Commit
0301eb1
1 Parent(s): 9b59b3d

Update my_model/state_manager.py

Browse files
Files changed (1) hide show
  1. my_model/state_manager.py +0 -1
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()