leavoigt commited on
Commit
bf7f98d
1 Parent(s): af776d5

Update appStore/vulnerability_analysis.py

Browse files
Files changed (1) hide show
  1. appStore/vulnerability_analysis.py +1 -2
appStore/vulnerability_analysis.py CHANGED
@@ -73,8 +73,7 @@ def app():
73
  threshold= params['threshold'])
74
 
75
  # Filter the dataframe to only show the paragraphs with references
76
- df_filtered = df[df['Vulnerability Label'].apply(lambda x: 'Other' not in x)]
77
-
78
 
79
  # Store df in session state with key1
80
  st.session_state.key1 = df_filtered
 
73
  threshold= params['threshold'])
74
 
75
  # Filter the dataframe to only show the paragraphs with references
76
+ df_filtered = df[df['Vulnerability Label'].apply(lambda x: len(x) > 0 and 'Other' not in x)]
 
77
 
78
  # Store df in session state with key1
79
  st.session_state.key1 = df_filtered