Welcome to the Streamlit forum! :wave:

The issue is unrelated to Streamlit, please look through past forum threads on this topic and also consult the SO thread shared above: python - KeyError when loading pickled scikit-learn model using joblib - Stack Overflow

We try limiting posts on the Streamlit forum to Streamlit-specific issues. Additionally, please avoid tagging or DM’ing Streamlit staff and moderators.