manika07 commited on
Commit
1662f3e
·
verified ·
1 Parent(s): cd23ce3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -20,8 +20,8 @@ def read_tf(url):
20
  preprocessing = pickle.load(f)
21
  return preprocessing
22
 
23
- svm_classifier = read_model("https://github.com/manika-lamba/ml/blob/main/model-topics.pkl")
24
- preprocessing = read_tf("https://github.com/manika-lamba/ml/blob/main/tfidf-topics.pkl")
25
 
26
  # Function to predict the category for a given abstract
27
  def predict_category(abstract):
 
20
  preprocessing = pickle.load(f)
21
  return preprocessing
22
 
23
+ svm_classifier = read_model("https://github.com/manika-lamba/ml/raw/main/model-topics.pkl")
24
+ preprocessing = read_tf("https://github.com/manika-lamba/ml/raw/main/tfidf-topics.pkl")
25
 
26
  # Function to predict the category for a given abstract
27
  def predict_category(abstract):