We will better highlight the need for packages.txt to be in the repo root in our Community Cloud documentation:
If packages.txt exists in the root directory of your repository we automatically detect it, parse it, and install the listed packages. You can read more about apt-get in Linux documentation.
If the model is very high, then it’s impossible with the streamlit to do frame to frame detection. Unfortunately streamlit doesn’t work for large object detection models.
But there is an possible solution. Instead of frame to frame detection, we can capture the image and do prediction with the help of st.camera_input(). For more reference:-
st.camera_input() is used to capture the photo right. But I need the real time video frames, so that the model can process those frames and display back to the user.
If there is any other Information related to that, Please share it.
After successful run for a few seconds the video capture stopped and showed these error logs
❗️ The service has encountered an error while checking the health of the Streamlit app: Get "http://localhost:8501/healthz": read tcp 10.12.38.55:60612->10.12.38.55:8501: read: connection reset by peer
❗️ The service has encountered an error while checking the health of the Streamlit app: Get "http://localhost:8501/healthz": read tcp 10.13.42.11:51228->10.13.42.11:8501: read: connection reset by peer
[20:24:57] ❗️ Streamlit server consistently failed status checks
[20:24:57] ❗️ Please fix the errors, push an update to the git repo, or reboot the app.