reshav1 commited on
Commit
a176e88
·
1 Parent(s): d113c53

Update home.py

Browse files
Files changed (1) hide show
  1. home.py +7 -1
home.py CHANGED
@@ -30,4 +30,10 @@ def visual_qna():
30
 
31
  def dashboard():
32
  st.title("Dashboard")
33
-
 
 
 
 
 
 
 
30
 
31
  def dashboard():
32
  st.title("Dashboard")
33
+ with st.sidebar:
34
+ selected = option_menu(None, [ "Visual Q&A" , "Logout"]
35
+ if selected == 'Visual Q&A':
36
+ visual_qna()
37
+ elif selected == 'Logout':
38
+ st.session_state.user = None
39
+ st.experimental_rerun()