manika07 commited on
Commit
a6c8dfb
·
1 Parent(s): 0221f7c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -58,8 +58,8 @@ def read_tf(url):
58
  preprocessing = pickle.load(f)
59
  return preprocessing
60
 
61
- svm_classifier = read_model("https://github.com/manika-lamba/ml/raw/main/category/model2.pkl")
62
- preprocessing = read_tf("https://github.com/manika-lamba/ml/raw/main/category/preprocessing.pkl")
63
 
64
  # Function to predict the category for a given abstract
65
  def predict_category(abstract):
 
58
  preprocessing = pickle.load(f)
59
  return preprocessing
60
 
61
+ svm_classifier = read_model("https://github.com/manika-lamba/ml/raw/main/category/model-topics.pkl")
62
+ preprocessing = read_tf("https://github.com/manika-lamba/ml/raw/main/category/tfidf-topics.pkl")
63
 
64
  # Function to predict the category for a given abstract
65
  def predict_category(abstract):