diff --git a/replicate/model.py b/replicate/model.py index a52459e..da3d2bd 100644 --- a/replicate/model.py +++ b/replicate/model.py @@ -163,7 +163,7 @@ def list(self, cursor: Union[str, "ellipsis", None] = ...) -> Page[Model]: # no Parameters: cursor: The cursor to use for pagination. Use the value of `Page.next` or `Page.previous`. Returns: - Page[Model]: A page of of models. + Page[Model]: A page of models. Raises: ValueError: If `cursor` is `None`. """ @@ -190,7 +190,7 @@ async def async_list( Parameters: cursor: The cursor to use for pagination. Use the value of `Page.next` or `Page.previous`. Returns: - Page[Model]: A page of of models. + Page[Model]: A page of models. Raises: ValueError: If `cursor` is `None`. """ diff --git a/replicate/prediction.py b/replicate/prediction.py index b4ff047..3e01b39 100644 --- a/replicate/prediction.py +++ b/replicate/prediction.py @@ -303,7 +303,7 @@ def list(self, cursor: Union[str, "ellipsis", None] = ...) -> Page[Prediction]: Parameters: cursor: The cursor to use for pagination. Use the value of `Page.next` or `Page.previous`. Returns: - Page[Prediction]: A page of of predictions. + Page[Prediction]: A page of predictions. Raises: ValueError: If `cursor` is `None`. """ @@ -332,7 +332,7 @@ async def async_list( Parameters: cursor: The cursor to use for pagination. Use the value of `Page.next` or `Page.previous`. Returns: - Page[Prediction]: A page of of predictions. + Page[Prediction]: A page of predictions. Raises: ValueError: If `cursor` is `None`. """