This example shows how to use Flask 3 on Vercel with Serverless Functions using the Python Runtime.
https://flask-hello-world-hwdu.vercel.app/predict?feature1=36.5&feature2=90&feature3=120
This example uses the Web Server Gateway Interface (WSGI) with Flask to enable handling requests on Vercel with Serverless Functions.
npm i -g vercel
vercel devYour Flask application is now available at http://localhost:3000.
Deploy the example using Vercel: