Spaces:
Sleeping
Sleeping
Update utils/vulnerability_classifier.py
Browse files
utils/vulnerability_classifier.py
CHANGED
@@ -42,7 +42,7 @@ def get_vulnerability_labels(preds):
|
|
42 |
result = [label_dict[key] for key, value in enumerate(preds_list) if value == 1]
|
43 |
|
44 |
st.write("Here are the results")
|
45 |
-
st.write(
|
46 |
return result
|
47 |
|
48 |
@st.cache_resource
|
|
|
42 |
result = [label_dict[key] for key, value in enumerate(preds_list) if value == 1]
|
43 |
|
44 |
st.write("Here are the results")
|
45 |
+
st.write(result)
|
46 |
return result
|
47 |
|
48 |
@st.cache_resource
|