Spaces:
Running
Running
Update utils/vulnerability_classifier.py
Browse files
utils/vulnerability_classifier.py
CHANGED
|
@@ -47,7 +47,7 @@ def getlabels(preds):
|
|
| 47 |
if index_of_one != "NA":
|
| 48 |
name = label_dict[index_of_one]
|
| 49 |
else:
|
| 50 |
-
name = "
|
| 51 |
|
| 52 |
# Append name to list
|
| 53 |
predictions_names.append(name)
|
|
|
|
| 47 |
if index_of_one != "NA":
|
| 48 |
name = label_dict[index_of_one]
|
| 49 |
else:
|
| 50 |
+
name = "Other"
|
| 51 |
|
| 52 |
# Append name to list
|
| 53 |
predictions_names.append(name)
|