vishal2023 commited on
Commit
880aa1f
·
1 Parent(s): b84a266

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -7,9 +7,9 @@ from nltk.corpus import stopwords
7
  from nltk.stem.porter import PorterStemmer
8
  import gradio as gr
9
 
10
- model = joblib.load('/content/gdrive/MyDrive/Colab Notebooks/Email Spam Classifier/naive_bayes_model.sav')
11
- tfidf = joblib.load('/content/gdrive/MyDrive/Colab Notebooks/Email Spam Classifier/TfIdfVectorizer.sav')
12
- pipe = joblib.load('/content/gdrive/MyDrive/Colab Notebooks/Email Spam Classifier/pipeline.sav')
13
 
14
  def predict_NB(text):
15
  text = text.lower()
 
7
  from nltk.stem.porter import PorterStemmer
8
  import gradio as gr
9
 
10
+ model = joblib.load('naive_bayes_model.sav')
11
+ tfidf = joblib.load('TfIdfVectorizer.sav')
12
+ pipe = joblib.load('pipeline.sav')
13
 
14
  def predict_NB(text):
15
  text = text.lower()