fatmacankara commited on
Commit
b68774d
1 Parent(s): 8f90700

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -19,8 +19,8 @@ def convert_df(df):
19
  # Check if 'key' already exists in session_state
20
  # If not, then initialize it
21
  if 'visibility' not in st.session_state:
22
- st.session_state['visibility'] = 'hidden'
23
- st.session_state.disabled = False
24
 
25
  original_title = '<p style="font-family:Trebuchet MS; color:#FD7456; font-size: 25px; font-weight:bold; text-align:center">ASCARIS</p>'
26
  st.markdown(original_title, unsafe_allow_html=True)
@@ -48,7 +48,7 @@ with st.form('mform', clear_on_submit=False):
48
  help='Selection of input structure data.\n 1: PDB Structures (default), 2: AlphaFold Structures',
49
  default=1)
50
  parser.add_argument('-i', '--input_datapoint',
51
- help='Input file or query datapoint\n Option 1: Comma-separated list of idenfiers (UniProt ID-wt residue-position-mutated residue (e.g. Q9Y4W6-N-432-T or Q9Y4W6-N-432-T, Q9Y4W6-N-432-T)) \n Option 2: Enter comma-separated file path')
52
 
53
  parser.add_argument('-impute', '--imputation_state', default='True',
54
  help='Whether resulting feature vector should be imputed or not. Default True.')
 
19
  # Check if 'key' already exists in session_state
20
  # If not, then initialize it
21
  if 'visibility' not in st.session_state:
22
+ st.session_state['visibility'] = 'visible'
23
+ st.session_state.disabled = True
24
 
25
  original_title = '<p style="font-family:Trebuchet MS; color:#FD7456; font-size: 25px; font-weight:bold; text-align:center">ASCARIS</p>'
26
  st.markdown(original_title, unsafe_allow_html=True)
 
48
  help='Selection of input structure data.\n 1: PDB Structures (default), 2: AlphaFold Structures',
49
  default=1)
50
  parser.add_argument('-i', '--input_datapoint',
51
+ help='Input file or query datapoint\n Option 1: Comma-separated list of identifiers (UniProt ID-wt residue-position-mutated residue (e.g. Q9Y4W6-N-432-T or Q9Y4W6-N-432-T, Q9Y4W6-N-432-T)) \n Option 2: Enter comma-separated file path')
52
 
53
  parser.add_argument('-impute', '--imputation_state', default='True',
54
  help='Whether resulting feature vector should be imputed or not. Default True.')