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 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
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.