Traceback (most recent call last):
File "/home/appuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 565, in _run_script
exec(code, module.__dict__)
File "/app/streamlit-app-/iris_webapp.py", line 3, in <module>
log_model = pickle.load(open('/home/karan/Desktop/Deployment/Iris-Detection/log_model.pkl','rb'))
FileNotFoundError: [Errno 2] No such file or directory: '/home/karan/Desktop/Deployment/Iris-Detection/log_model.pkl'
Hi, @Karan_P_K ![]()
From the above path, it looks like you haven’t kept the model in the same place as your iris_webapp.py file. Can you please try to move your model to the same path as your file? ![]()
Also, when you upload it to GitHub, then you need to change the file path as well.
Hope this helps! ![]()
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.