| import streamlit as st | |
| from streamlit_option_menu import option_menu | |
| from app_utils import switch_page | |
| import streamlit as st | |
| from PIL import Image | |
| im = Image.open("icon.png") | |
| st.set_page_config(page_title = "AI Interviewer", layout = "centered",page_icon=im) | |
| lan = st.selectbox("#### Language", ["English", "中文"]) | |
| if lan == "English": | |
| home_title = "AI Interviewer" | |
| home_introduction = "Welcome to AI Interviewer, empowering your interview preparation with generative AI." | |
| st.markdown( | |
| "<style>#MainMenu{visibility:hidden;}</style>", | |
| unsafe_allow_html=True | |
| ) | |
| st.image(im, width=100) | |
| st.markdown(f"""# {home_title}""",unsafe_allow_html=True) | |
| st.markdown("""\n""") | |
| #st.markdown("#### Greetings") | |
| st.markdown("Welcome to AI Interviewer! 👏 AI Interviewer is your personal interviewer powered by generative AI that conducts mock interviews." | |
| "You can upload your resume and enter job descriptions, and AI Interviewer will ask you customized questions. Additionally, you can configure your own Interviewer!") | |
| st.markdown("""\n""") | |