artintel235 commited on
Commit
7f7b93a
·
verified ·
1 Parent(s): 54225eb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -1
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()