FileNotFoundError: [Errno 2] No such file or directory: './vectorizer/sentiment/tfidf_fa.sav'

Hi, I develop twitter dashboard and in local everythings is ok and it’s work.
my machine leraning models and vectorizer saved at app/models and app/vectorizer/ directory but stramlit share can’t find them and throw this error:

FileNotFoundError: [Errno 2] No such file or directory: './vectorizer/sentiment/tfidf_fa.sav'

my repo address: https://github.com/AUT-Twitter-Dashboard/Streamlit-Dashboard

Hi @mhmp98, welcome to the Streamlit community!

I tried to deploy your app and don’t get that error. What steps are you taking, or is this already solved?

Best,
Randy

1 Like