replicate / replicate-python

Python client for Replicate
https://replicate.com
Apache License 2.0
763 stars 218 forks source link

Create empty model from api ,delete it from web - when i try ro create again (same name) either api|web i get This model already exists. Try a different name! #323

Open micos7 opened 4 months ago

micos7 commented 4 months ago

Or in api the response is reasonPhrase: "Conflict" -statusCode: 409

Unique index which takes into account soft deletes?

Thanks for your help.

mattt commented 3 months ago

Hi @micos7. To clarify, when you deleted your model, does it still show up on the website? If you delete the model through the API, does that resolve your issue?

jlewi commented 3 months ago

I'm hitting the same issue. @mattt to answer your questions

  1. I'm deleting the model via API
  2. The deleted model no longer shows up in the UI
  3. Issuing a create returns a 409.

I have a repo which I can share with you.

tobias-varden commented 2 months ago

I have the same issue. I deleted the model from the UI, and then I try to create a model with the same name from the python library and it fails with 409.

roelfrenkema commented 2 months ago

Bump any solution? I have the same problem.

angelos-c commented 2 months ago

bump..same problem, anyone fixed this?