App crashing unexpectedly without relevant logs

Deploys fine but stops unexpectedly during image processing. Works fine locally.

https://share.streamlit.io/waliasanchit007/automatic_exraction-of-river-networks-capstone-project/main/main.py

WARNING: You are using pip version 21.1.1; however, version 21.3.1 is available.
You should consider upgrading via the '/home/appuser/venv/bin/python -m pip install --upgrade pip' command.`
[manager] Python dependencies were installed from /app/automatic_exraction-of-river-networks-capstone-project/requirements.txt using pip.
[client] Connecting...
[manager] Streamlit server consistently failed status checks
[manager] Please fix the errors, push an update to the git repo, or reboot the app.

Requirements

opencv-python
scikit-image
numpy
matplotlib
pillow

Packages

ffmpeg
libsm6
libxext6
freeglut3-dev
libgtk2.0-dev
pkg-config
libgl1-mesa-glx
tesseract-ocr
libtesseract-dev
libtesseract4
tesseract-ocr-all