Anonymous
TRIALOP
2 years ago
I am trying to run a fastapi on render and it deploys but crashed when I make a post to it. can someone helpe?
16 Replies
brody
EMPLOYEE
2 years ago
please provide deploy logs
brody
EMPLOYEE
2 years ago
n/a
brody
EMPLOYEE
2 years ago
follow the 3 instructions
here is my requirements.txt: python-multipart
fastapi
scikit-image
firebase-admin
opencv-python
numpy
uvicorn
requests
brody
EMPLOYEE
2 years ago
please use the headless version of open cv instead
does this work: https://pypi.org/project/opencv-python-headless/
brody
EMPLOYEE
2 years ago
yep that's it
brody
EMPLOYEE
2 years ago
it should
brody
EMPLOYEE
2 years ago
no problem!