Error While Deploying my app on Streamlit Cloud

Hi,
while deploying my app on streamlit cloud, This error is encountered.

 Resource stopwords not found.

  Please use the NLTK Downloader to obtain the resource:


  >>> import nltk

  >>> nltk.download('stopwords')

  

  For more information see: https://www.nltk.org/data.html


  Attempted to load corpora/stopwords


  Searched in:

    - '/home/appuser/nltk_data'

    - '/home/appuser/venv/nltk_data'

    - '/home/appuser/venv/share/nltk_data'

    - '/home/appuser/venv/lib/nltk_data'

    - '/usr/share/nltk_data'

    - '/usr/local/share/nltk_data'

    - '/usr/lib/nltk_data'

    - '/usr/local/lib/nltk_data'

I have gone through this post and do added nltk.download(‘stopwords’) in my code in app.py

My github Repo l link

App is working in my system and I am not able to understand why this error is showing.
This is My first time too to deploy an app on a cloud.

Thanks

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