Spaces:
Runtime error
Runtime error
This
Browse files
home.py
CHANGED
@@ -17,17 +17,46 @@ def Reminder():
|
|
17 |
|
18 |
def ChatBot():
|
19 |
st.title("ChatBot")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
|
21 |
def dashboard():
|
22 |
st.title("Welcome to the Dashboard")
|
23 |
with st.sidebar:
|
24 |
-
selected = option_menu(None, ["Reminder", "ChatBot", "Logout"], icons=["plus", "eye", "power-off"])
|
25 |
|
26 |
if selected == "Reminder":
|
27 |
Reminder()
|
28 |
elif selected == "ChatBot":
|
29 |
-
st.subheader("View Reminders")
|
30 |
ChatBot()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
31 |
elif selected == "Logout":
|
32 |
st.session_state["user"] = "Guest"
|
33 |
st.experimental_rerun()
|
|
|
17 |
|
18 |
def ChatBot():
|
19 |
st.title("ChatBot")
|
20 |
+
|
21 |
+
def Friday():
|
22 |
+
st.title("Friday")
|
23 |
+
|
24 |
+
|
25 |
+
def Code4():
|
26 |
+
st.title("Code4")
|
27 |
+
|
28 |
+
|
29 |
+
def Code5():
|
30 |
+
st.title("Code5")
|
31 |
+
|
32 |
+
|
33 |
+
def Code6():
|
34 |
+
st.title("Code6")
|
35 |
+
|
36 |
+
|
37 |
+
|
38 |
|
39 |
def dashboard():
|
40 |
st.title("Welcome to the Dashboard")
|
41 |
with st.sidebar:
|
42 |
+
selected = option_menu(None, ["Reminder", "ChatBot","Friday", "Code4", "Code5", "Code6", "Logout"], icons=["plus", "eye","sun", "book", "book", "book", "power-off"])
|
43 |
|
44 |
if selected == "Reminder":
|
45 |
Reminder()
|
46 |
elif selected == "ChatBot":
|
|
|
47 |
ChatBot()
|
48 |
+
elif selected == "Friday":
|
49 |
+
Friday()
|
50 |
+
|
51 |
+
elif selected == "Code4":
|
52 |
+
Code4()
|
53 |
+
elif selected == "Code5":
|
54 |
+
Code5()
|
55 |
+
elif selected == "Code6":
|
56 |
+
Code6()
|
57 |
+
|
58 |
+
|
59 |
+
|
60 |
elif selected == "Logout":
|
61 |
st.session_state["user"] = "Guest"
|
62 |
st.experimental_rerun()
|