manika07 commited on
Commit
8d670d6
·
verified ·
1 Parent(s): a646275

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -28,7 +28,7 @@ def predict_category(abstract):
28
  # Preprocess the abstract
29
  abstract_preprocessed = preprocessing.transform([abstract])
30
  # Make prediction
31
- prediction = svm_classifier.predict(abstract_preprocessed)
32
  return prediction
33
 
34
  # Create sidebar
 
28
  # Preprocess the abstract
29
  abstract_preprocessed = preprocessing.transform([abstract])
30
  # Make prediction
31
+ prediction = svm_classifier(abstract_preprocessed)
32
  return prediction
33
 
34
  # Create sidebar