File size: 592 Bytes
c99a549
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import streamlit as st
from homepage import display_homepage
from chatbot import display_chatbot
from predict_stress import display_predict_stress
from session_state import initialize_session_state

initialize_session_state()

if 'page' not in st.session_state:
    st.session_state.page = "home"

if st.session_state.page == "home":
    display_homepage()
elif st.session_state.page == "chat":
    display_chatbot()
elif st.session_state.page == "stress":
    display_predict_stress()

st.markdown("<style>div.stContainer {padding-top: 0;}</style>", unsafe_allow_html=True)