Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Duplicated from
pvanand/search-generate-prod-broken
pvanand
/
general_chat
like
0
Running
App
Files
Files
Community
aee34ba
general_chat
/
download_nltk_data.py
pvanand
Update download_nltk_data.py
aee34ba
verified
8 months ago
raw
Copy download link
history
blame
Safe
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'
)