replicate-python icon indicating copy to clipboard operation
replicate-python copied to clipboard

document `replicate.models.predictions.create` method

Open zeke opened this issue 1 year ago • 2 comments

Followup to https://github.com/replicate/replicate-python/pull/207

zeke avatar Nov 30 '23 19:11 zeke

@zeke can i work on the above one

pavansai26 avatar Dec 20 '23 00:12 pavansai26

Thanks for the offer @pavansai26. I'm actually not sure about the state of this method in the Python API client. @mattt what do you think?

zeke avatar Dec 20 '23 05:12 zeke

replicate.models.predictions.create has been deprecated in favor of an overload to replicate.predictions.create that accepts a model kwarg. This is documented in the README in this section: https://github.com/replicate/replicate-python?tab=readme-ov-file#run-a-model-and-stream-its-output

mattt avatar Jul 18 '24 12:07 mattt