Spaces:
Runtime error
Runtime error
Update spam.py
Browse files
spam.py
CHANGED
@@ -12,7 +12,7 @@ from sklearn import feature_extraction
|
|
12 |
from sklearn.feature_extraction.text import CountVectorizer
|
13 |
from sklearn.feature_extraction.text import TfidfVectorizer
|
14 |
|
15 |
-
model = pickle.load(open('
|
16 |
|
17 |
st.title('Spam classifier')
|
18 |
input = st.text_area('Enter sms here')
|
|
|
12 |
from sklearn.feature_extraction.text import CountVectorizer
|
13 |
from sklearn.feature_extraction.text import TfidfVectorizer
|
14 |
|
15 |
+
model = pickle.load(open('spam_model.sav','rb'))
|
16 |
|
17 |
st.title('Spam classifier')
|
18 |
input = st.text_area('Enter sms here')
|