Here is the image of the logs after deploying my streamlit app on streamlit cloud.
I am building an app for realtime emotion recognition using webcam.
The app works fine when i run it locally. But the webcam is unable to open when running the app on streamlit cloud.
If anybody can please help me in solving the issue… it would be really appreciated…
I am using streamlit == 1.4.0 and streamlit webrtc == 0.34.1
streamlit webrtc works well on your local setup but has issues when deploying on the cloud try using heroku to deploy your app and see if the problem still persist, which i think the error may still occur.
However, from my experience, this error occurs in some specific network environments.
For example, the app works well when I use my home network, but it fails when tethering.
My hypothesis is that there is some problem derived from the network such as connection failure, and it leads to the error log somehow.
What if you try using another network?