We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 32d50f0 commit 88250d8Copy full SHA for 88250d8
src/groundlight/internalapi.py
@@ -71,7 +71,7 @@ def iq_is_confident(iq: ImageQuery, confidence_threshold: float) -> bool:
71
if not iq.result or not iq.result.confidence:
72
return False
73
return iq.result.confidence >= confidence_threshold # type: ignore
74
- except Exception as e:
+ except Exception:
75
if not iq.result or not iq.result["confidence"]:
76
77
return iq.result["confidence"] >= confidence_threshold # type: ignore
0 commit comments