hidevscommunity commited on
Commit
c9372eb
·
1 Parent(s): 69151c2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ from sklearn.feature_extraction.text import CountVectorizer
6
  cv = CountVectorizer()
7
  # Load the pickled model
8
  def load_model():
9
- return pickle.load(open('Iris_Flower_Classification_RandomForest.pkl', 'rb')) #Load model from notebook
10
 
11
  # Function for model prediction
12
  def model_prediction(model, features):
 
6
  cv = CountVectorizer()
7
  # Load the pickled model
8
  def load_model():
9
+ return pickle.load(open('Sarcasm_Detection_BernoulliNB.pkl', 'rb')) #Load model from notebook
10
 
11
  # Function for model prediction
12
  def model_prediction(model, features):