Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -403,4 +403,11 @@ def main_app():
|
|
403 |
|
404 |
# Logout button
|
405 |
if st.button("Logout", on_click=logout_callback):
|
406 |
-
pass
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
403 |
|
404 |
# Logout button
|
405 |
if st.button("Logout", on_click=logout_callback):
|
406 |
+
pass
|
407 |
+
|
408 |
+
# Render the appropriate screen based on login status
|
409 |
+
if st.session_state.logged_in:
|
410 |
+
main_app()
|
411 |
+
else:
|
412 |
+
registration_form()
|
413 |
+
login_form()
|