Mpavan45 commited on
Commit
4092ad2
·
verified ·
1 Parent(s): df257e0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -9,11 +9,11 @@ import pandas as pd
9
  model = tf.keras.models.load_model("news_classification_rnn.h5")
10
 
11
  # Load Preprocessing Function
12
- with open("preprocessing.pkl", "rb") as f:
13
  clean_text = pickle.load(f)
14
 
15
  # Load TF-IDF Vectorizer
16
- with open("vectorizer.pkl", "rb") as f:
17
  vectorizer = pickle.load(f)
18
 
19
  # Define News Categories
 
9
  model = tf.keras.models.load_model("news_classification_rnn.h5")
10
 
11
  # Load Preprocessing Function
12
+ with open("preprocessing1.pkl", "rb") as f:
13
  clean_text = pickle.load(f)
14
 
15
  # Load TF-IDF Vectorizer
16
+ with open("text_vectorizer.pkl", "rb") as f:
17
  vectorizer = pickle.load(f)
18
 
19
  # Define News Categories