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

Python client for Replicate

Results 81 replicate-python issues
Sort by recently updated
recently updated
newest added

Hi, I'm having an issue that I don't get locally, it happens in the following scenario: - I have two cog models deployed on Replicate (as `Deployments`) - one of...

The Training resource object is missing the metrics property, so it is not set when getting a response from the API. If you do a raw curl or get request...

**Hi team 👋** _Calling:_ `replicate.run("user/model", input={"prompt": "Hello"})` _Returns:_ `ValueError: Input is required` Even though the input is provided. Happens on certain models. Any idea what causes this? **Thanks!**

**Hi team 👋** Using: `output = replicate.run(model, input=input_dict)` On some models, the call hangs indefinitely without error or result. Is there a timeout I should set or a way to...

This fixes #428 where training is missing the metrics property in the object.

Following code allows us generate image. ```python output = replicate.run( "black-forest-labs/flux-schnell", input={ "prompt": "black forest gateau cake spelling out the words \"FLUX SCHNELL\", tasty, food photography, dynamic shot", "go_fast": True,...

### Summary This PR simplifies how we handle temporary files for the control image in the ControlNet pipeline. The tempfile is now used for both writing and reading without reopening...

hi need 10 upvotes to add replicate API as provider in GitHub Copilot. https://github.com/microsoft/vscode-copilot-release/issues/7882

Since replicate.paginate() doesn't exists