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.
Thanks for stopping by! We use cookies to help us understand how you interact with our website.
By clicking “Accept all”, you consent to our use of cookies. For more information, please see our privacy policy.
Cookie settings
Strictly necessary cookies
These cookies are necessary for the website to function and cannot be switched off. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms.
Performance cookies
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us understand how visitors move around the site and which pages are most frequently visited.
Functional cookies
These cookies are used to record your choices and settings, maintain your preferences over time and recognize you when you return to our website. These cookies help us to personalize our content for you and remember your preferences.
Targeting cookies
These cookies may be deployed to our site by our advertising partners to build a profile of your interest and provide you with content that is relevant to you, including showing you relevant ads on other websites.