ruthvik7382 commited on
Commit
d4b2920
1 Parent(s): efcc33c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +14 -7
app.py CHANGED
@@ -7,13 +7,20 @@ def display_resume():
7
  if 'section' not in st.session_state:
8
  st.session_state.section = 'welcome'
9
 
10
- st.sidebar.button("Profile Summary", on_click=lambda: st.session_state.update({'section': 'profile_summary'}))
11
- st.sidebar.button("Functional Skills", on_click=lambda: st.session_state.update({'section': 'functional_skills'}))
12
- st.sidebar.button("Technical Skills", on_click=lambda: st.session_state.update({'section': 'technical_skills'}))
13
- st.sidebar.button("Work Experience", on_click=lambda: st.session_state.update({'section': 'work_experience'}))
14
- st.sidebar.button("Education", on_click=lambda: st.session_state.update({'section': 'education'}))
15
- st.sidebar.button("Research and Publications", on_click=lambda: st.session_state.update({'section': 'research_publications'}))
16
- st.sidebar.button("Certifications", on_click=lambda: st.session_state.update({'section': 'certifications'}))
 
 
 
 
 
 
 
17
 
18
  if st.session_state.section == 'welcome':
19
  st.header("Welcome")
 
7
  if 'section' not in st.session_state:
8
  st.session_state.section = 'welcome'
9
 
10
+ if st.sidebar.button("Profile Summary"):
11
+ st.session_state.section = 'profile_summary'
12
+ if st.sidebar.button("Functional Skills"):
13
+ st.session_state.section = 'functional_skills'
14
+ if st.sidebar.button("Technical Skills"):
15
+ st.session_state.section = 'technical_skills'
16
+ if st.sidebar.button("Work Experience"):
17
+ st.session_state.section = 'work_experience'
18
+ if st.sidebar.button("Education"):
19
+ st.session_state.section = 'education'
20
+ if st.sidebar.button("Research and Publications"):
21
+ st.session_state.section = 'research_publications'
22
+ if st.sidebar.button("Certifications"):
23
+ st.session_state.section = 'certifications'
24
 
25
  if st.session_state.section == 'welcome':
26
  st.header("Welcome")