Hey @affanmohammed. Use opencv-python-headless by without mentioning the version. Hope it works
opencv-python-headless
Happy Streamlit-ing