leavoigt commited on
Commit
4f348a1
1 Parent(s): 3db0542

Update appStore/vulnerability_analysis.py

Browse files
Files changed (1) hide show
  1. appStore/vulnerability_analysis.py +2 -0
appStore/vulnerability_analysis.py CHANGED
@@ -81,12 +81,14 @@ def vulnerability_display():
81
 
82
  # Get the vulnerability df
83
  df = st.session_state['key1']
 
84
 
85
  # Filter the dataframe to only show the paragraphs with references
86
  df_filtered = df[df['Vulnerability Label'].apply(lambda x: len(x) > 0 and 'Other' not in x)]
87
 
88
  # Rename column
89
  df_filtered.rename(columns={'Vulnerability Label': 'Group(s)'}, inplace=True)
 
90
 
91
  # Header
92
  st.subheader("Explore references to vulnerable groups:")
 
81
 
82
  # Get the vulnerability df
83
  df = st.session_state['key1']
84
+ st.write(df)
85
 
86
  # Filter the dataframe to only show the paragraphs with references
87
  df_filtered = df[df['Vulnerability Label'].apply(lambda x: len(x) > 0 and 'Other' not in x)]
88
 
89
  # Rename column
90
  df_filtered.rename(columns={'Vulnerability Label': 'Group(s)'}, inplace=True)
91
+ st.write(df_filtered)
92
 
93
  # Header
94
  st.subheader("Explore references to vulnerable groups:")