Spaces:
Sleeping
Sleeping
File size: 834 Bytes
9e04f95 4a7c2fc 9e04f95 d75866e 9e04f95 5bfab8c d75866e 9e04f95 |
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 |
import streamlit as st
from streamlit_option_menu import option_menu
from chat import Chat
from convo import convo
def homepage():
st.title("Home")
# st.header("Home Page")
st.subheader("Welcome to the Home Page")
def dashboard():
# st.title("Dashboard")
# st.header("Dashboard")
with st.sidebar:
selected = option_menu("Menu", ["Home", "Dashboard","Chat","Conversation","Logout"], icons=['house', 'activity'], menu_icon="cast", default_index=0)
if selected == "Home":
homepage()
elif selected == "Dashboard":
"gfjfvjhvjhv"
elif selected == "Chat":
Chat()
elif selected == "Conversation":
convo()
elif selected == "Logout":
st.session_state["user"] = "visitor"
st.experimental_rerun()
|