When sharing code problems in the forum, please make sure to share a minimal context so we can understand what’s going on for instance, source code and what python/streamlit versions you’re using.
That being said, it seems like the error is coming from loading your pickled classifier, and that has no link with the streamlit library. Did a quick search and found that this may be a common issue when mistakenly using import joblib instead of from sklearn.externals import joblib. See this SO thread.