schennu commited on
Commit
dc97699
·
verified ·
1 Parent(s): 77c3d8c

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +32 -0
app.py ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ SeniorMatch: Activities & Resources for Seniors
3
+ A Streamlit application to connect seniors with social activities and resources.
4
+ """
5
+
6
+ # Third-party imports
7
+ import streamlit as st
8
+
9
+ # Local imports
10
+ from src.ui.sidebar import render_sidebar
11
+ from src.ui.tabs import render_tabs
12
+ from src.utils.api_utils import initialize_session_state
13
+
14
+ if __name__ == "__main__":
15
+ st.set_page_config(
16
+ page_title="SeniorMatch - Elder Engage",
17
+ page_icon="👵👴",
18
+ layout="wide"
19
+ )
20
+
21
+ # Create a debug expander at the top of your app
22
+ debug_expander = st.expander("Debug Information", expanded=False)
23
+
24
+ st.title("✨ SeniorMatch: Activities & Resources for Seniors")
25
+ st.markdown("*Connecting seniors to social activities, volunteer opportunities, and community engagement*")
26
+
27
+ # Initialize session state
28
+ initialize_session_state()
29
+
30
+ # Render sidebar and main content
31
+ render_sidebar()
32
+ render_tabs()