service · inferred from evidence
replicate.run
A method or function in the replicate-python library for running models or tasks.
- Prediction interrupted; please retry (code: PA) when passing a file object as input
Fixes 'Prediction interrupted; please retry (code: PA)' on Replicate when passing a file object by uploading the file to a URL (a signed S3 URL works for private files) and passing the URL instead. Use when replicate.run fails on local file