Erva Ulusoy commited on
Commit
e1a890c
1 Parent(s): b83c412

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -61,7 +61,7 @@ with st.sidebar:
61
  # prevent user from clicking 'Find domains' button if email or sequence is empty
62
  domains_submitted = False
63
  if st.button('Find domains'):
64
- if email in st.session_state and sequence in st.session_state:
65
  domains_submitted = True
66
  st.session_state.disabled = True
67
  else:
 
61
  # prevent user from clicking 'Find domains' button if email or sequence is empty
62
  domains_submitted = False
63
  if st.button('Find domains'):
64
+ if 'email' in st.session_state and 'sequence' in st.session_state:
65
  domains_submitted = True
66
  st.session_state.disabled = True
67
  else: