general_chat / download_nltk_data.py
pvanand's picture
Update download_nltk_data.py
aee34ba verified
raw
history blame
156 Bytes
import nltk
import os
# Download NLTK data
nltk.download('stopwords', download_dir='/app/nltk_data')
nltk.download('punkt', download_dir='/app/nltk_data')