leavoigt commited on
Commit
aaa7178
1 Parent(s): e000f68

Update utils/vulnerability_classifier.py

Browse files
Files changed (1) hide show
  1. utils/vulnerability_classifier.py +1 -1
utils/vulnerability_classifier.py CHANGED
@@ -75,7 +75,7 @@ def vulnerability_classification(haystack_doc:pd.DataFrame,
75
  the number of times it is covered/discussed/count_of_paragraphs.
76
  """
77
  logging.info("Working on vulnerability Identification")
78
- haystack_doc['Sector Label'] = 'NA'
79
  # haystack_doc['PA_check'] = haystack_doc['Policy-Action Label'].apply(lambda x: True if len(x) != 0 else False)
80
 
81
  # df1 = haystack_doc[haystack_doc['PA_check'] == True]
 
75
  the number of times it is covered/discussed/count_of_paragraphs.
76
  """
77
  logging.info("Working on vulnerability Identification")
78
+ haystack_doc['Vulnerability Label'] = 'NA'
79
  # haystack_doc['PA_check'] = haystack_doc['Policy-Action Label'].apply(lambda x: True if len(x) != 0 else False)
80
 
81
  # df1 = haystack_doc[haystack_doc['PA_check'] == True]