I have a Python Flask API which requires the following dependencies:
Flask==2.1.2
flask-cors
Peewee==3.15.2
python-dotenv==0.21.0
Werkzeug==2.2.2
marshmallow
pandas
numpy
pymysql
statsmodels
When I try to deploy it to Vercel, I get this message: Error: A Serverless Function has exceeded the unzipped maximum size of 250 MB.
My project is only 81.6 KB. The error only appears when I add the** statsmodels
**dependency to the requirements file.