/predict API not working

#1
by AhmadFiaz - opened

Hi,

I tried using the /predict API on your Real-ESRGAN Space with cURL, Python, and JavaScript, but none of these methods work. Every request returns:

event: error
data: null

This happens even with valid input parameters: an image URL and the upscale value.

Could you please check and fix the /predict API so that external calls work properly? It’s currently not usable programmatically.

I also duplicated the Space and tried to edit it myself but I failed.

Could you just make it up?

Thanks!

Sign up or log in to comment