Skip to content

Commit

Permalink
Update app1.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Sakeebhasan123456 authored Oct 4, 2024
1 parent 35012fb commit f6ddb3e
Showing 1 changed file with 2 additions and 2 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")

0 comments on commit f6ddb3e

Please sign in to comment.