We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 81e1e09 commit b27655aCopy full SHA for b27655a
src/groundlight/client.py
@@ -1004,6 +1004,8 @@ def wait_for_confident_result(
1004
"""
1005
if isinstance(image_query, str):
1006
image_query = self.get_image_query(image_query)
1007
+
1008
+ if confidence_threshold is None:
1009
confidence_threshold = self.get_detector(image_query.detector_id).confidence_threshold
1010
1011
confidence_above_thresh = partial(iq_is_confident, confidence_threshold=confidence_threshold) # type: ignore
0 commit comments