Webcam not working on streamlit after deploying

I am trying to detect facial emotions using the app I created but the camera won’t open. I tried this locally and it works perfectly.

I am getting this error.