Update app.py
Browse files
app.py
CHANGED
@@ -829,12 +829,7 @@ def render_ai_financial_advisor():
|
|
829 |
|
830 |
st.markdown("</div>", unsafe_allow_html=True)
|
831 |
|
832 |
-
|
833 |
-
# Main function
|
834 |
def main():
|
835 |
-
# Initialize AI
|
836 |
-
initialize_gemini()
|
837 |
-
|
838 |
# Create sidebar navigation
|
839 |
create_sidebar()
|
840 |
|
@@ -844,11 +839,15 @@ def main():
|
|
844 |
elif st.session_state.current_page == 'dashboard':
|
845 |
render_financial_dashboard()
|
846 |
elif st.session_state.current_page == 'simulator':
|
847 |
-
|
|
|
|
|
|
|
848 |
elif st.session_state.current_page == 'monitoring':
|
849 |
render_fund_monitoring()
|
850 |
elif st.session_state.current_page == 'advisor':
|
851 |
render_ai_financial_advisor()
|
|
|
852 |
|
853 |
if __name__ == "__main__":
|
854 |
main()
|
|
|
829 |
|
830 |
st.markdown("</div>", unsafe_allow_html=True)
|
831 |
|
|
|
|
|
832 |
def main():
|
|
|
|
|
|
|
833 |
# Create sidebar navigation
|
834 |
create_sidebar()
|
835 |
|
|
|
839 |
elif st.session_state.current_page == 'dashboard':
|
840 |
render_financial_dashboard()
|
841 |
elif st.session_state.current_page == 'simulator':
|
842 |
+
# Pass the current startup's data
|
843 |
+
render_decision_simulator(
|
844 |
+
st.session_state.startups[st.session_state.current_startup]['profile']
|
845 |
+
)
|
846 |
elif st.session_state.current_page == 'monitoring':
|
847 |
render_fund_monitoring()
|
848 |
elif st.session_state.current_page == 'advisor':
|
849 |
render_ai_financial_advisor()
|
850 |
+
|
851 |
|
852 |
if __name__ == "__main__":
|
853 |
main()
|