RajaThor commited on
Commit
e42b20b
·
verified ·
1 Parent(s): b9f7106

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -498,7 +498,7 @@ def display_tour_steps(steps):
498
  # Update the main function to include the feedback option
499
  def main():
500
  st.sidebar.title("Options")
501
- option = st.sidebar.radio("Select Option", ["Add Person", "Recognize Face", "Delete Person", "Recognize Face (Optimal)", "Tour Guide", "Feedback", "Messenger"])
502
 
503
  if option == "Add Person":
504
  add_person_ui()
@@ -514,6 +514,9 @@ def main():
514
  feedback_ui()
515
  elif option == "Messenger":
516
  messenger_ui()
 
 
 
517
 
518
  # Run the tour guide
519
  if __name__ == "__main__":
 
498
  # Update the main function to include the feedback option
499
  def main():
500
  st.sidebar.title("Options")
501
+ option = st.sidebar.radio("Select Option", ["Add Person", "Recognize Face", "Delete Person", "Recognize Face (Optimal)", "Tour Guide", "Feedback", "Messenger", "History"])
502
 
503
  if option == "Add Person":
504
  add_person_ui()
 
514
  feedback_ui()
515
  elif option == "Messenger":
516
  messenger_ui()
517
+ elif option == "History":
518
+ display_history(st.session_state.auth_state["user"].email)
519
+
520
 
521
  # Run the tour guide
522
  if __name__ == "__main__":