Spaces:
Sleeping
Sleeping
Commit
·
0d7f3a7
1
Parent(s):
806931d
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,11 @@ import argparse
|
|
11 |
from st_aggrid import AgGrid, GridOptionsBuilder, JsCode,GridUpdateMode
|
12 |
import base64
|
13 |
showWarningOnDirectExecution = False
|
14 |
-
|
|
|
|
|
|
|
|
|
15 |
|
16 |
original_title = '<p style="font-family:Trebuchet MS; color:#FD7456; font-size: 25px; font-weight:bold; text-align:center">ASCARIS</p>'
|
17 |
st.markdown(original_title, unsafe_allow_html=True)
|
@@ -59,20 +63,9 @@ print('*****************************************')
|
|
59 |
mode = int(mode)
|
60 |
|
61 |
|
62 |
-
# Check if 'key' already exists in session_state
|
63 |
-
# If not, then initialize it
|
64 |
-
if 'visibility' not in st.session_state:
|
65 |
-
st.session_state['visibility'] = 'visible'
|
66 |
|
67 |
-
# Session State also supports the attribute based syntax
|
68 |
-
if 'visibility' not in st.session_state:
|
69 |
-
st.session_state.key = 'visible'
|
70 |
|
71 |
|
72 |
-
if "visibility" not in st.session_state:
|
73 |
-
st.session_state.visibility = "visible"
|
74 |
-
st.session_state.disabled = False
|
75 |
-
|
76 |
with st.spinner('In progress...This may take a while...'):
|
77 |
try:
|
78 |
if mode == 1:
|
|
|
11 |
from st_aggrid import AgGrid, GridOptionsBuilder, JsCode,GridUpdateMode
|
12 |
import base64
|
13 |
showWarningOnDirectExecution = False
|
14 |
+
# Check if 'key' already exists in session_state
|
15 |
+
# If not, then initialize it
|
16 |
+
if 'visibility' not in st.session_state:
|
17 |
+
st.session_state['visibility'] = 'visible'
|
18 |
+
st.session_state.disabled = False
|
19 |
|
20 |
original_title = '<p style="font-family:Trebuchet MS; color:#FD7456; font-size: 25px; font-weight:bold; text-align:center">ASCARIS</p>'
|
21 |
st.markdown(original_title, unsafe_allow_html=True)
|
|
|
63 |
mode = int(mode)
|
64 |
|
65 |
|
|
|
|
|
|
|
|
|
66 |
|
|
|
|
|
|
|
67 |
|
68 |
|
|
|
|
|
|
|
|
|
69 |
with st.spinner('In progress...This may take a while...'):
|
70 |
try:
|
71 |
if mode == 1:
|