diff --git a/Deep_Learning/Spam Vs Ham Mail Classification [With Streamlit GUI]/Model/app1.py b/Deep_Learning/Spam Vs Ham Mail Classification [With Streamlit GUI]/Model/app1.py index fdaa5846c1..e8ad13ac84 100644 --- a/Deep_Learning/Spam Vs Ham Mail Classification [With Streamlit GUI]/Model/app1.py +++ b/Deep_Learning/Spam Vs Ham Mail Classification [With Streamlit GUI]/Model/app1.py @@ -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') @@ -58,4 +58,4 @@ def transform_text(text): st.title("SMS is Spam") else: - st.title("SMS is not Spam") \ No newline at end of file + st.title("SMS is not Spam")