Update app.py
Browse files
app.py
CHANGED
@@ -19,7 +19,7 @@ st.image('fcahpt.jpg', caption='federal college of animal health and production
|
|
19 |
st.header('Spam Detection using Naive Bayes Classifier')
|
20 |
st.write('This is spam detection developed with python using Naive Bayes Classifier')
|
21 |
vectorizer = load('tfidf_vectorizer.joblib')
|
22 |
-
user_input = st.
|
23 |
if user_input is not None:
|
24 |
x = vectorizer.transform([user_input])
|
25 |
model = load('Naive_Bayes_Spam_Detection.joblib')
|
|
|
19 |
st.header('Spam Detection using Naive Bayes Classifier')
|
20 |
st.write('This is spam detection developed with python using Naive Bayes Classifier')
|
21 |
vectorizer = load('tfidf_vectorizer.joblib')
|
22 |
+
user_input = st.text_area("Enter some text:", "")
|
23 |
if user_input is not None:
|
24 |
x = vectorizer.transform([user_input])
|
25 |
model = load('Naive_Bayes_Spam_Detection.joblib')
|