Update app.py
Browse files
app.py
CHANGED
@@ -79,8 +79,8 @@ def main():
|
|
79 |
st.session_state.current_startup = selected_startup
|
80 |
|
81 |
# Show basic startup info
|
82 |
-
|
83 |
-
|
84 |
**Stage:** {startup_data['stage']}
|
85 |
**Cash:** ${startup_data['cash']:,}
|
86 |
**Monthly Burn:** ${startup_data['burn_rate']:,}
|
@@ -88,19 +88,19 @@ def main():
|
|
88 |
""")
|
89 |
|
90 |
# Navigation buttons
|
91 |
-
|
92 |
|
93 |
-
|
94 |
"๐ Financial Dashboard": "dashboard",
|
95 |
"๐ฎ Decision Simulator": "simulator",
|
96 |
"๐ต๏ธ Fund Monitoring": "monitoring",
|
97 |
"๐ค AI Financial Advisor": "advisor"
|
98 |
}
|
99 |
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
|
105 |
# Render the correct page
|
106 |
if st.session_state.current_page == 'dashboard':
|
|
|
79 |
st.session_state.current_startup = selected_startup
|
80 |
|
81 |
# Show basic startup info
|
82 |
+
startup_data = st.session_state.startups[selected_startup]['profile']
|
83 |
+
st.markdown(f"""
|
84 |
**Stage:** {startup_data['stage']}
|
85 |
**Cash:** ${startup_data['cash']:,}
|
86 |
**Monthly Burn:** ${startup_data['burn_rate']:,}
|
|
|
88 |
""")
|
89 |
|
90 |
# Navigation buttons
|
91 |
+
st.markdown("<hr>", unsafe_allow_html=True)
|
92 |
|
93 |
+
page_options = {
|
94 |
"๐ Financial Dashboard": "dashboard",
|
95 |
"๐ฎ Decision Simulator": "simulator",
|
96 |
"๐ต๏ธ Fund Monitoring": "monitoring",
|
97 |
"๐ค AI Financial Advisor": "advisor"
|
98 |
}
|
99 |
|
100 |
+
for label, page_key in page_options.items():
|
101 |
+
if st.button(label, use_container_width=True):
|
102 |
+
st.session_state.current_page = page_key
|
103 |
+
st.experimental_rerun()
|
104 |
|
105 |
# Render the correct page
|
106 |
if st.session_state.current_page == 'dashboard':
|