Response: ({"detail":"Not Found"})

Unable to get response from API

  • Response: ({“detail”:“Not Found”})
  • Code: 404

That is the error return I get back when I tried to run an api on a model. They use to work fine but for some reason it fails now

Examples

One that broke
https://pytorch-midas.hf.space/+/api/predict/

One that still works
https://gradio-depth-estimation.hf.space/api/predict

Please help if you any ideas on this, tired of pulling my hair out :slight_smile:

I have the same problem with a demo I forked. The application itself works fine, but the API is broken for some reason.

Works:

Broken:
https://wonderwize-manga-ocr-demo.hf.space/+/api/predict/

I see no reason why it should break.

Heads up: I got this to work by removing the + from the link, but the automatically generated API page still insist it should be there.

1 Like