Update app.py
Browse files
app.py
CHANGED
@@ -64,10 +64,10 @@ def main():
|
|
64 |
if st.session_state.user is None:
|
65 |
with st.sidebar:
|
66 |
selected = option_menu(None, ['Login', 'Register'])
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
else:
|
72 |
dashboard()
|
73 |
|
|
|
64 |
if st.session_state.user is None:
|
65 |
with st.sidebar:
|
66 |
selected = option_menu(None, ['Login', 'Register'])
|
67 |
+
if selected == 'Login':
|
68 |
+
login()
|
69 |
+
elif selected == 'Register':
|
70 |
+
register()
|
71 |
else:
|
72 |
dashboard()
|
73 |
|