Skip to content

Commit

Permalink
Merge pull request #90 from Sakeebhasan123456/main
Browse files Browse the repository at this point in the history
Deep_Learning/Spam Vs Ham Mail Classification
  • Loading branch information
UTSAVS26 authored Oct 4, 2024
2 parents 8970570 + f6ddb3e commit ee44c58
Show file tree
Hide file tree
Showing 3 changed files with 4,434 additions and 1,463 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def transform_text(text):
# Store the model in your file
# here we can store the tfidf and model pkl file in a specfic folder and use it.
tfidf=pickle.load(open('vectorizer.pkl','rb'))
model=pickle.load(open('bnb.pkl','rb'))
model=pickle.load(open('best_model.pkl','rb'))

st.title('SMS Spam Classification')

Expand All @@ -58,4 +58,4 @@ def transform_text(text):
st.title("SMS is Spam")

else:
st.title("SMS is not Spam")
st.title("SMS is not Spam")
Loading

0 comments on commit ee44c58

Please sign in to comment.