Create API Endpoint from hugging face space
I have created a Space on Hugging Face that runs my custom machine-learning model using Gradio. It works perfectly in the web interface, but now I want to convert this Space into an API endpoint that I can call from my application.