Spaces:
Sleeping
Sleeping
fatmacankara
commited on
Commit
·
9e2f96b
1
Parent(s):
65ac11b
Update app.py
Browse files
app.py
CHANGED
@@ -41,7 +41,7 @@ def download_df():
|
|
41 |
# Check if 'key' already exists in session_state
|
42 |
# If not, then initialize it
|
43 |
if 'visibility' not in st.session_state:
|
44 |
-
st.session_state['visibility'] = '
|
45 |
st.session_state.disabled = False
|
46 |
|
47 |
original_title = '<p style="font-family:Trebuchet MS; color:#FD7456; font-size: 25px; font-weight:bold; text-align:center">ASCARIS</p>'
|
@@ -62,7 +62,6 @@ with st.form('mform', clear_on_submit=False):
|
|
62 |
disabled=st.session_state.disabled,
|
63 |
placeholder=st.session_state.visibility,
|
64 |
)
|
65 |
-
submitted = st.form_submit_button(label="Submit", help=None, on_click=None, args=None, kwargs=None, type="secondary", disabled=False, use_container_width=False)
|
66 |
|
67 |
|
68 |
parser = argparse.ArgumentParser(description='ASCARIS')
|
@@ -81,7 +80,8 @@ with st.form('mform', clear_on_submit=False):
|
|
81 |
input_set = input_data
|
82 |
mode = source
|
83 |
impute = impute
|
84 |
-
|
|
|
85 |
print('*****************************************')
|
86 |
print('Feature vector generation is in progress. \nPlease check log file for updates..')
|
87 |
print('*****************************************')
|
|
|
41 |
# Check if 'key' already exists in session_state
|
42 |
# If not, then initialize it
|
43 |
if 'visibility' not in st.session_state:
|
44 |
+
st.session_state['visibility'] = 'hidden'
|
45 |
st.session_state.disabled = False
|
46 |
|
47 |
original_title = '<p style="font-family:Trebuchet MS; color:#FD7456; font-size: 25px; font-weight:bold; text-align:center">ASCARIS</p>'
|
|
|
62 |
disabled=st.session_state.disabled,
|
63 |
placeholder=st.session_state.visibility,
|
64 |
)
|
|
|
65 |
|
66 |
|
67 |
parser = argparse.ArgumentParser(description='ASCARIS')
|
|
|
80 |
input_set = input_data
|
81 |
mode = source
|
82 |
impute = impute
|
83 |
+
submitted = st.form_submit_button(label="Submit", help=None, on_click=None, args=None, kwargs=None, type="secondary", disabled=False, use_container_width=False)
|
84 |
+
st.write('submitted', submitted)
|
85 |
print('*****************************************')
|
86 |
print('Feature vector generation is in progress. \nPlease check log file for updates..')
|
87 |
print('*****************************************')
|