m7mdal7aj commited on
Commit
3f2c56c
·
verified ·
1 Parent(s): 6657600

Update my_model/state_manager.py

Browse files
Files changed (1) hide show
  1. my_model/state_manager.py +1 -1
my_model/state_manager.py CHANGED
@@ -291,7 +291,7 @@ class StateManager:
291
  """
292
  img = copy.deepcopy(image)
293
  st.text("Analyzing the image .. ")
294
- caption = self.session_state.kbvqa.get_caption(img)
295
  image_with_boxes, detected_objects_str = self.session_state.kbvqa.detect_objects(img)
296
  return caption, detected_objects_str, image_with_boxes
297
 
 
291
  """
292
  img = copy.deepcopy(image)
293
  st.text("Analyzing the image .. ")
294
+ caption = st.session_state.kbvqa.get_caption(img)
295
  image_with_boxes, detected_objects_str = self.session_state.kbvqa.detect_objects(img)
296
  return caption, detected_objects_str, image_with_boxes
297