Spaces:
Running
Running
File size: 601 Bytes
d58052d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
import streamlit as st
from pages import home, cover, underwriter, income_statement, balance_sheet, cash_flow
# Define pages
pages = {
"": [
st.Page(home, title="Home"),
],
"IPO Info:": [
st.Page(cover, title="Cover"),
st.Page(underwriter, title="Underwriter")
],
"Financial:": [
st.Page(income_statement, title="Income Statement"),
st.Page(balance_sheet, title="Balance Sheet"),
st.Page(cash_flow, title="Cash Flow")
],
}
# Navigation
pg = st.navigation(pages) # Pass the entire pages dictionary
pg.run() |