Closed zeke closed 4 months ago
@zeke what platform are you running this on? NodeJS?
I think the solution here is to merge #184 and utilize the file upload endpoint, I hadn't realized it hasn't been merged yet. @mattt what are your thoughts?
@aron Yeah, I think the Files API would be the best solution to this. Let's chat about what's blocking us from shipping that.
I hadn't realized it hasn't been merged yet.
Ah yeah same.. I was thinking, "Isn't this file supposed to be uploaded automatically by the client now?" That explains it.
Files API sounds good to me. 👍🏼
Hey any updates on when this fix will be merged? I'm following the upload guide that can be accessed from any model and neither File, Blob, and Buffer uploads all give me this error. Thanks
Hey any updates on when this fix will be merged? I'm following the upload guide that can be accessed from any model and neither File, Blob, and Buffer uploads all give me this error. Thanks
Hello, I also have the same problem. Were you able to find a solution?
We're going to ship #184, but in the short term you can temporarily work around it by npm installing this branch from GitHub:
npm install replicate/replicate-javascript#fix-rangeerror
We're going to ship #184, but in the short term you can temporarily work around it by npm installing this branch from GitHub:
npm install replicate/replicate-javascript#fix-rangeerror
Thanks a lot ,you saved my life🙏🏿
We're going to ship #184, but in the short term you can temporarily work around it by npm installing this branch from GitHub:
npm install replicate/replicate-javascript#fix-rangeerror
Thanks a lot ,you saved my life🙏🏿
mine too. please ship this PR
I've got this code:
And this image:
I'm trying to feed this image to https://replicate.com/yorickvp/llava-v1.6-34b as a buffer:
But I'm getting this error: