Error while deploying in windows

FileNotFoundError: [Errno 2] No such file or directory: ‘C:/Users/hp/Desktop/Dataset + Models/models/diabetes_model’


File "E:\Anaconda\envs\MachineLearning\Lib\site-packages\streamlit\runtime\scriptrunner\", line 534, in _run_script
    exec(code, module.__dict__)File "C:\Users\hp\Desktop\Dataset + Models\", line 14, in <module>
    diabetes = pickle.load(open('C:/Users/hp/Desktop/Dataset + Models/models/diabetes_model', 'rb'))

You don’t have access to your local clients computer if the streamlit app runs on any hosted environment. Put the model files also in the github repo.

Can you please explain this in more details? This is the first time I am deploying something

Hey @Divya_Nadar, is this the same issue you posted about here?

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.