Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ import nltk
|
|
3 |
from nltk.corpus import stopwords
|
4 |
import joblib
|
5 |
|
6 |
-
|
7 |
|
8 |
# Load the trained model and vectorizer outside the function for better performance
|
9 |
loaded_classifier = joblib.load("is_this_bible_model.pkl")
|
|
|
3 |
from nltk.corpus import stopwords
|
4 |
import joblib
|
5 |
|
6 |
+
nltk.download('punkt')
|
7 |
|
8 |
# Load the trained model and vectorizer outside the function for better performance
|
9 |
loaded_classifier = joblib.load("is_this_bible_model.pkl")
|