Mimi commited on
Commit
7885053
·
1 Parent(s): d54071c

Update file

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -48,12 +48,12 @@ if "messages" not in st.session_state:
48
  @st.dialog('Intake form', width='large')
49
  def open_intake_form():
50
  st.markdown('Fill in your detaisl below to start chat session :)')
51
- st.session_state.candidate_name = st.text_input("Enter your name", key='candidate_name')
52
  contact_col_1, contact_col_2 = st.columns(spec=[0.3, 0.7], vertical_alignment='center')
53
  contact_col_1.selectbox("Select contact option", contact_options, key='candidate_contact_type')
54
  contact_col_2.text_input('Enter your username', key='candidate_contact')
55
- st.session_state.candidate_dob = st.date_input("When is your birthday?", key='candidate_dob')
56
- st.session_State.candidate_location = st.text_input('Enter your location', key='candidate_location')
57
  #button = st.button('Submit', use_container_width=True, type='primary')
58
  # after the button is clicked the page automatically reruns and the workflow starts from the beginning
59
 
 
48
  @st.dialog('Intake form', width='large')
49
  def open_intake_form():
50
  st.markdown('Fill in your detaisl below to start chat session :)')
51
+ name = st.text_input("Enter your name", key='candidate_name')
52
  contact_col_1, contact_col_2 = st.columns(spec=[0.3, 0.7], vertical_alignment='center')
53
  contact_col_1.selectbox("Select contact option", contact_options, key='candidate_contact_type')
54
  contact_col_2.text_input('Enter your username', key='candidate_contact')
55
+ dob = st.date_input("When is your birthday?", key='candidate_dob')
56
+ location = st.text_input('Enter your location', key='candidate_location')
57
  #button = st.button('Submit', use_container_width=True, type='primary')
58
  # after the button is clicked the page automatically reruns and the workflow starts from the beginning
59