Spaces:
Sleeping
Sleeping
Update app.py
Browse files13 unmodified lines1415161718192021222324252627282913 unmodified lines
warnings.filterwarnings("ignore")
# Add this at the top of your app.py or equivalentimport nltk
# Download necessary NLTK datatry: nltk.data.find('tokenizers/punkt') nltk.data.find('tokenizers/punkt_tab') # This is the missing one!except LookupError: nltk.download(['punkt', 'punkt_tab'], quiet=True)
# Download required NLTK datatry: nltk.data.find('tokenizers/punkt')app.py+10