Update app.py
Browse files
app.py
CHANGED
@@ -16,9 +16,11 @@ import docx2txt
|
|
16 |
from io import StringIO
|
17 |
from PyPDF2 import PdfFileReader
|
18 |
import warnings
|
19 |
-
import nltk
|
20 |
|
21 |
-
|
|
|
|
|
22 |
|
23 |
warnings.filterwarnings("ignore")
|
24 |
|
|
|
16 |
from io import StringIO
|
17 |
from PyPDF2 import PdfFileReader
|
18 |
import warnings
|
19 |
+
import nltk
|
20 |
|
21 |
+
nltk.download('punkt')
|
22 |
+
|
23 |
+
from nltk import sent_tokenize
|
24 |
|
25 |
warnings.filterwarnings("ignore")
|
26 |
|