About handling CORS error while calling API using Axios

I am trying to consume API provided by the hugging face space after I build space using app.py. I tried to use Axios to consume API from frontend but I am facing the following issue :

1 Like