From bff74591c514350453b3d4a100efb0da335ba00f Mon Sep 17 00:00:00 2001 From: brandon Date: Tue, 10 Oct 2023 14:28:46 -0700 Subject: [PATCH] set default wait for ask_ml --- src/groundlight/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/groundlight/client.py b/src/groundlight/client.py index c29aca32..59662d07 100644 --- a/src/groundlight/client.py +++ b/src/groundlight/client.py @@ -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`