-
Notifications
You must be signed in to change notification settings - Fork 10
/
app.py
46 lines (38 loc) · 1.33 KB
/
app.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
### Main page for streamlit resume
import streamlit as st
import pages.about
import pages.skills
import pages.projects
import pages.edu
import pages.recommendations
import resources.ast as ast
PAGES = {
"About": pages.about,
"Education" : pages.edu,
"Skills": pages.skills,
"Projects": pages.projects,
"Recommendations": pages.recommendations
}
def main():
"""Main function of App"""
st.sidebar.title("Navigation")
selection = st.sidebar.radio("Go to", list(PAGES.keys()))
page = PAGES[selection]
with st.spinner(f"Loading {selection} ..."):
ast.write_page(page)
st.sidebar.title("Hire Me")
st.sidebar.info(
"""
If you are looking to hire a Data Scientist,
[email me](mailto:[email protected]) or reach out
to me on [LinkedIn](https://www.linkedin.com/in/abhishek-gupta-/)
""")
st.sidebar.title("Additional Info")
st.sidebar.info(
"This an interactive streamlit app completely created with Python's latest library **streamlit** "
"Do reach out to me on [LinkedIn](https://www.linkedin.com/in/abhishek-gupta-/) or "
"at [Mail me](mailto:[email protected]) to know more. "
"Also check the [source code](https://github.com/alphadatagamma/Streamlit-Resume-App) here. "
)
if __name__ == "__main__":
main()