Template name
Use Flask and AI SDK on Edgenivo with Serverless Functions using the Python Runtime.

This example shows how to use Flask and AI SDK on Edgenivo with Serverless Functions using the Python Runtime.
https://ai-sdk-preview-flask.vercel.app/api/generate?prompt="hey!"
This example uses the Web Server Gateway Interface (WSGI) with Flask to handle requests on Edgenivo with Serverless Functions.
npm i -g vercelpython -m venv .venvsource .venv/bin/activateuv sync # or alternatively pip install flask gunicorngunicorn main:appYour Flask application is now available at http://localhost:3000.