Camera Issues after deploying

So, after a great struggle, I have successfully deployed my project. I used webrtc for deploying but the problem now i face is that the camera and feed works for a while and after sometime if i want to open the project again, the camera is not opening.
how to solve this issue.
link for my project: https://sld-main-6oo65tcs6k6avbkuqjvwmv.streamlit.app/
link to git: affanmohammed/SLD-Main (github.com)