Error on line 12 while running .py file, i have ran jupyter notebook code and made the model and saved it
dipsaili2001 opened this issue · comments
Traceback (most recent call last):
File "C:/Users/Dipesh/Fake_News_Detection/Fake_News_Det.py", line 12, in
loaded_model = pickle.load(open("model.pkl", "rb"))
FileNotFoundError: [Errno 2] No such file or directory: 'model.pkl'
The path is right, model.pkl is in this folder only
check for your path where you've saved your model and kindly check for the file with the name