Probably nltk
is not in your requirements.txt
file?
ok after adding it working fine on streamlit but when deployed on heroku is giving same error,
what could be the reason ?
Deployment on Heroku is afaik a bit different.
I don’t use it, but there are some threads and tutorials out there, just search for Heroku here in the forum.
thanks for the solution