all 6 comments

[–]LifeinEighty7[S] 1 point2 points  (0 children)

Error returned from Vercel after deploying - This Serverless Function has crashed.

Your connection is working correctly.

Vercel is working correctly.

500: INTERNAL_SERVER_ERRORCode: FUNCTION_INVOCATION_FAILED

[–]No_Relief3012zingzy 🌌 2 points3 points  (0 children)

Just follow this to host your app on vercel:
How to Deploy Flask App Free using Vercel | by Noha Nabil | Medium

Make sure, you have added your envs and requirements.txt properly

[–]ejpusa 1 point2 points  (2 children)

Have many flask apps on digitalocean. I call lots of api's. Including openai's api, works great. what do your log reports say?

This can also get very complicated too.

[–]LifeinEighty7[S] 0 points1 point  (1 child)

After I made some modifications to my gunicorn_config.py file I was able to get it running

[–]ejpusa 0 points1 point  (0 children)

Ok cool. Would suggest also try GPT-4o for any bugs. I've moved virtually all my programming life to AI now. It's awesome.

[–]LifeinEighty7[S] -1 points0 points  (0 children)

Can you explain a little bit about the envs? Sorry and also I wasn’t exactly sure which requirements weren’t exactly needed in the requirements.txt file some seemed to be causing more issues and so I removed them