Hey everyone👋, I’ve made a DL model and ran it into local development environment… But when I deployed the model in the streamlit cloud it suddenly gave me this error. My application is working fine in my local environment and there is no issue in the code logic. Can anyone is able to help me out? Any kind of help is highly appreciated!
Thanks in advance🙌
I reinstalled all the modules and redeployed in the cloud…but it’s continuously giving me same error…
Can anyone set it up in their local environment?
I created a new Python 3.11 virtual environment, installed your requirements, ran your app in that environment and I got the same error. So there is something different in your environment: different libraries, code, data, I don’t know. The operating system is also different but I wouldn’t expect that to be an iisue.
This is what I did, after downloading your repo at commit 15b80b39f2:
python -m venv .venv
source .venv/bin/activate # This is different in Windows
pip install -r requirements.txt
streamlit run MoviesAnalysis.py
I upgraded the tensoflow and streamlit version and got this new error…different packages demands different version of protobuf . I guess that’s why it’s showing that kind of error
You already had tensorflow-intel==2.12.0 installed before upgrading. What you probably didn’t have is the ancient protobuf==3.12.2, released three years ago.
Anyway, I don’t see how messing with the environment that works is going to help figure out what is wrong with the environment that doesn’t work. It is the latter that should have been fixed, not the former. The issue you are having now is most likely unrelated to the original one.
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.