Update utils/vulnerability_classifier.py
Browse files
utils/vulnerability_classifier.py
CHANGED
@@ -45,9 +45,6 @@ def get_vulnerability_labels(preds):
|
|
45 |
names = [label_dict[key] for key, value in enumerate(sublist) if value == 1]
|
46 |
result.append(names)
|
47 |
|
48 |
-
st.write("Here are the results")
|
49 |
-
st.write(result)
|
50 |
-
|
51 |
return result
|
52 |
|
53 |
@st.cache_resource
|
|
|
45 |
names = [label_dict[key] for key, value in enumerate(sublist) if value == 1]
|
46 |
result.append(names)
|
47 |
|
|
|
|
|
|
|
48 |
return result
|
49 |
|
50 |
@st.cache_resource
|