Update utils/vulnerability_classifier.py
Browse files
utils/vulnerability_classifier.py
CHANGED
@@ -52,7 +52,7 @@ def getlabels(preds):
|
|
52 |
# Append name to list
|
53 |
predictions_names.append(name)
|
54 |
|
55 |
-
|
56 |
|
57 |
@st.cache_resource
|
58 |
def load_vulnerabilityClassifier(config_file:str = None, classifier_name:str = None):
|
|
|
52 |
# Append name to list
|
53 |
predictions_names.append(name)
|
54 |
|
55 |
+
return predictions_names
|
56 |
|
57 |
@st.cache_resource
|
58 |
def load_vulnerabilityClassifier(config_file:str = None, classifier_name:str = None):
|