azizbarank commited on
Commit
01d568a
·
1 Parent(s): 219842f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -76,13 +76,13 @@ with model_results:
76
 
77
  # instantiating count vectorizor
78
  count = CountVectorizer(stop_words=stop_words)
79
- X_train = pickle.load(open('X_train', 'rb'))
80
  X_test = lemmatized_output
81
  X_train_count = count.fit_transform(X_train)
82
  X_test_count = count.transform(X_test)
83
 
84
  # loading in model
85
- final_model = pickle.load(open('bayes', 'rb'))
86
 
87
  # apply model to make predictions
88
  prediction = final_model.predict(X_test_count[0])
 
76
 
77
  # instantiating count vectorizor
78
  count = CountVectorizer(stop_words=stop_words)
79
+ X_train = pickle.load(open("C:\Users\User\Downloads\X_train", 'rb'))
80
  X_test = lemmatized_output
81
  X_train_count = count.fit_transform(X_train)
82
  X_test_count = count.transform(X_test)
83
 
84
  # loading in model
85
+ final_model = pickle.load(open("C:\Users\User\Downloads\bayes", 'rb'))
86
 
87
  # apply model to make predictions
88
  prediction = final_model.predict(X_test_count[0])