thanks, it works well, here is the full step
Now you can host a flask app on vercel using their serveless functions, they have a python runtime, in your code you need to create a vercel.json file and add the python api routes and also add all the python code inside a api folder.
here is a complete step by step tutorial on how to do it: Deploy flask app to vercel