Update app.py
Browse files
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
|
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
|