miracle01 commited on
Commit
b954065
·
verified ·
1 Parent(s): 2e1a34c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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.text_input("Enter some text:", "")
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')