I am deploying streamlit app on streamlit cloud. The app uses yolov4 custom object detection model. I can not show the repo due to confidentiality issue. Can anyone help me solve the below issue
directory structure

requirements

I am deploying streamlit app on streamlit cloud. The app uses yolov4 custom object detection model. I can not show the repo due to confidentiality issue. Can anyone help me solve the below issue
Remove opencv-python
from the req file, you only need the opencv-python-headless
package.
Thank you very much !
I encounter another problem in this application. I opened it today and it asked for reboot, I did the same but I am getting below error. I tried re-deployment as well but it is giving same error. I have not made any changes in my file.
I included opencv-python-headless
, got another error, can you help me with it?
File "/app/all-in-one/elements/selfie_AI/selfie.py", line 2, in <module>
import cv2
File "/home/appuser/venv/lib/python3.9/site-packages/cv2/__init__.py", line 181, in <module>
bootstrap()
File "/home/appuser/venv/lib/python3.9/site-packages/cv2/__init__.py", line 153, in bootstrap
native_module = importlib.import_module("cv2")
File "/usr/local/lib/python3.9/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ImportError: libGL.so.1: cannot open shared object file: No such file or directory
Hi @armM00 You can create a packages.txt file and include this in it
freeglut3-dev
libgtk2.0-dev
try reboot the website, it works for me
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
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.
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.
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.
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.