Commit ·
5a993ac
1
Parent(s): 5ae183b
Update model.py
Browse files
model.py
CHANGED
|
@@ -12,6 +12,10 @@ from tensorflow import keras
|
|
| 12 |
from keras.models import load_model
|
| 13 |
import os
|
| 14 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
# Import the text preprocessing and prediction functions if they are defined elsewhere
|
| 16 |
from file import text_preprocessing
|
| 17 |
|
|
|
|
| 12 |
from keras.models import load_model
|
| 13 |
import os
|
| 14 |
|
| 15 |
+
import nltk
|
| 16 |
+
|
| 17 |
+
nltk.download('punkt')
|
| 18 |
+
|
| 19 |
# Import the text preprocessing and prediction functions if they are defined elsewhere
|
| 20 |
from file import text_preprocessing
|
| 21 |
|