gopiashokan commited on
Commit
031cb56
·
verified ·
1 Parent(s): c6b3cf7

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -13
app.py CHANGED
@@ -145,19 +145,10 @@ streamlit_config()
145
 
146
 
147
  # Check 'punkt' Already Downloaded or Not
148
- # try:
149
- # nltk.data.find('tokenizers/punkt')
150
- # except LookupError:
151
- # nltk.download('punkt')
152
-
153
-
154
- # # Load spaCy model
155
- # try:
156
- # nlp = spacy.load('en_core_web_lg')
157
- # except OSError:
158
- # from spacy.cli import download
159
- # download('en_core_web_lg')
160
- # nlp = spacy.load('en_core_web_lg')
161
 
162
 
163
  # File uploader to upload the HTML file
 
145
 
146
 
147
  # Check 'punkt' Already Downloaded or Not
148
+ try:
149
+ nltk.data.find('tokenizers/punkt')
150
+ except LookupError:
151
+ nltk.download('punkt')
 
 
 
 
 
 
 
 
 
152
 
153
 
154
  # File uploader to upload the HTML file