Skip to content

Commit

Permalink
trivial change for linter
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Huff authored and Tim Huff committed Aug 2, 2023
1 parent 1476219 commit 7d88659
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/groundlight/internalapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ def update_detector_confidence_threshold(self, detector_id: str, confidence_thre
# The API does not validate the confidence threshold,
# so we will validate it here and raise an exception if necessary.
if confidence_threshold < 0 or confidence_threshold > 1:
raise ValueError(f"Confidence threshold must be between 0 and 1. Got {confidence_threshold}")
raise ValueError(f"Confidence threshold must be between 0 and 1. Got {confidence_threshold}.")

url = f"{self.configuration.host}/predictors/{detector_id}"

Expand Down

0 comments on commit 7d88659

Please sign in to comment.