PavanShivaKumar commited on
Commit
70d0072
·
verified ·
1 Parent(s): 0dc4ee0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ import pickle
4
 
5
  # Load the trained model, label encoder, and vectorizer
6
  def load_resources():
7
- with open("model.pkl", "rb") as f:
8
  model = pickle.load(f)
9
  with open("label_encoder.pkl", "rb") as f:
10
  label_enc = pickle.load(f)
 
4
 
5
  # Load the trained model, label encoder, and vectorizer
6
  def load_resources():
7
+ with open("random_forest_model.pkl", "rb") as f:
8
  model = pickle.load(f)
9
  with open("label_encoder.pkl", "rb") as f:
10
  label_enc = pickle.load(f)