m7mdal7aj commited on
Commit
e62a724
1 Parent(s): 91f466a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -41,7 +41,7 @@ def analyze_image(image, model, show_processed_image=False):
41
  image_with_boxes, detected_objects_str = model.detect_objects(img)
42
  if show_processed_image:
43
  st.image(image_with_boxes)
44
- return caption, detected_objects
45
 
46
  def image_qa_app(kbvqa):
47
  # Initialize session state for storing the current image and its Q&A history
 
41
  image_with_boxes, detected_objects_str = model.detect_objects(img)
42
  if show_processed_image:
43
  st.image(image_with_boxes)
44
+ return caption, detected_objects_str
45
 
46
  def image_qa_app(kbvqa):
47
  # Initialize session state for storing the current image and its Q&A history