pip install -r requirements.txtpython main.py
To deploy to Vercel, requirements.txt must be present, so must main.py, and the FastHTML framework option needs to be selected in the Vercel UI. Trying to adopt a different package structure and edit vercel.json startCommand and buildCommand came with much peril.
vercel to deploy a preview that you can share for others to comment on
vercel --prod to deploy to prod - mlm-form.vercel.app