Skip to content

Commit

Permalink
set default wait for ask_ml
Browse files Browse the repository at this point in the history
  • Loading branch information
brandon-groundlight committed Oct 10, 2023
1 parent 2419154 commit bff7459
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/groundlight/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ def ask_ml(
self,
detector: Union[Detector, str],
image: Union[str, bytes, Image.Image, BytesIO, BufferedReader, np.ndarray],
wait: Optional[float] = None,
wait: Optional[float] = 10,
) -> ImageQuery:
"""Evaluates an image with Groundlight, getting the first answer Groundlight can provide.
:param detector: the Detector object, or string id of a detector like `det_12345`
Expand Down

0 comments on commit bff7459

Please sign in to comment.