Update app.py
Browse files
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,
|
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
|