UnpicklingError: invalid load key, '\xef'

Traceback:

File "/usr/local/Caskroom/miniforge/base/lib/python3.10/site-packages/streamlit/scriptrunner/script_runner.py", line 443, in _run_script
    exec(code, module.__dict__)File "/Users/mac/spamclassifier/app.py", line 36, in <module>
    model = pickle.load(open('model.pkl','rb'))

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