NHLOCAL commited on
Commit
e4071b9
·
1 Parent(s): e2c9c4a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -3,6 +3,8 @@ import nltk
3
  from nltk.corpus import stopwords
4
  import joblib
5
 
 
 
6
  # Load the trained model and vectorizer outside the function for better performance
7
  loaded_classifier = joblib.load("is_this_bible_model.pkl")
8
  vectorizer = joblib.load("is_this_bible_vectorizer.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")
10
  vectorizer = joblib.load("is_this_bible_vectorizer.pkl")