Spaces:
Sleeping
Sleeping
Update appStore/vulnerability_analysis.py
Browse files
appStore/vulnerability_analysis.py
CHANGED
|
@@ -82,13 +82,14 @@ def vulnerability_display():
|
|
| 82 |
df_vul = st.session_state['key0']
|
| 83 |
|
| 84 |
#st.write(df_vul)
|
|
|
|
|
|
|
|
|
|
| 85 |
|
| 86 |
col1, col2 = st.columns([1,1])
|
| 87 |
|
| 88 |
with col1:
|
| 89 |
|
| 90 |
-
# Header
|
| 91 |
-
st.subheader("Explore references to vulnerable groups:")
|
| 92 |
|
| 93 |
# Text
|
| 94 |
num_paragraphs = len(df_vul['Vulnerability Label'])
|
|
@@ -135,7 +136,7 @@ def vulnerability_display():
|
|
| 135 |
fig = px.bar(df_bar_chart,
|
| 136 |
x='Label',
|
| 137 |
y='Count',
|
| 138 |
-
title='How many references have been found
|
| 139 |
labels={'Count': 'Frequency'})
|
| 140 |
|
| 141 |
#Show plot
|
|
|
|
| 82 |
df_vul = st.session_state['key0']
|
| 83 |
|
| 84 |
#st.write(df_vul)
|
| 85 |
+
|
| 86 |
+
# Header
|
| 87 |
+
st.subheader("Explore references to vulnerable groups:")
|
| 88 |
|
| 89 |
col1, col2 = st.columns([1,1])
|
| 90 |
|
| 91 |
with col1:
|
| 92 |
|
|
|
|
|
|
|
| 93 |
|
| 94 |
# Text
|
| 95 |
num_paragraphs = len(df_vul['Vulnerability Label'])
|
|
|
|
| 136 |
fig = px.bar(df_bar_chart,
|
| 137 |
x='Label',
|
| 138 |
y='Count',
|
| 139 |
+
title='How many references have been found for each group?',
|
| 140 |
labels={'Count': 'Frequency'})
|
| 141 |
|
| 142 |
#Show plot
|