From f6ddb3e75586d2c8cde69eae455018dd5bbbbe2e Mon Sep 17 00:00:00 2001 From: sakeeb hasan <100307524+Sakeebhasan123456@users.noreply.github.com> Date: Fri, 4 Oct 2024 17:37:45 +0530 Subject: [PATCH] Update app1.py --- .../Model/app1.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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")