leavoigt commited on
Commit
a12fa3b
1 Parent(s): 6f96de4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -1
app.py CHANGED
@@ -80,6 +80,8 @@ with st.expander("ℹ️ - About this app", expanded=False):
80
  """)
81
 
82
  st.write("")
 
 
83
  apps = [processing.app, vulnerability_analysis.app]
84
 
85
  multiplier_val =1/len(apps)
@@ -89,7 +91,7 @@ if st.button("Analyze Document"):
89
  func()
90
  prg.progress((i+1)*multiplier_val)
91
 
92
-
93
  if 'key0' in st.session_state:
94
  with st.sidebar:
95
  topic = st.radio(
@@ -97,6 +99,13 @@ if 'key0' in st.session_state:
97
  (['Vulnerability']))
98
 
99
  if topic == 'Vulnerability':
 
 
 
 
 
 
 
100
  st.table(st.session_state['key0'])
101
 
102
  # vulnerability_analysis.vulnerability_display()
 
80
  """)
81
 
82
  st.write("")
83
+
84
+ # Define the apps used
85
  apps = [processing.app, vulnerability_analysis.app]
86
 
87
  multiplier_val =1/len(apps)
 
91
  func()
92
  prg.progress((i+1)*multiplier_val)
93
 
94
+ # If there is data stored
95
  if 'key0' in st.session_state:
96
  with st.sidebar:
97
  topic = st.radio(
 
99
  (['Vulnerability']))
100
 
101
  if topic == 'Vulnerability':
102
+
103
+ # Display a pie chart
104
+ col1, col2 = [1,1]
105
+ with col1:
106
+ st.write('hi')
107
+
108
+ # Display the table
109
  st.table(st.session_state['key0'])
110
 
111
  # vulnerability_analysis.vulnerability_display()