m7mdal7aj commited on
Commit
aac0218
1 Parent(s): 5c3c21e

Update my_model/KBVQA.py

Browse files
Files changed (1) hide show
  1. my_model/KBVQA.py +1 -1
my_model/KBVQA.py CHANGED
@@ -134,7 +134,7 @@ class KBVQA:
134
  Returns:
135
  tuple: A tuple containing the image with detected objects drawn and a string representation of detected objects.
136
  """
137
-
138
  image = self.detector.process_image(img)
139
  detected_objects_string, detected_objects_list = self.detector.detect_objects(image, threshold=self.detection_confidence)
140
  image_with_boxes = self.detector.draw_boxes(img, detected_objects_list)
 
134
  Returns:
135
  tuple: A tuple containing the image with detected objects drawn and a string representation of detected objects.
136
  """
137
+ st.write('detect func', self.detection_confidence)
138
  image = self.detector.process_image(img)
139
  detected_objects_string, detected_objects_list = self.detector.detect_objects(image, threshold=self.detection_confidence)
140
  image_with_boxes = self.detector.draw_boxes(img, detected_objects_list)