georad commited on
Commit
d8d4d1d
·
verified ·
1 Parent(s): a3e4c27

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -5
app.py CHANGED
@@ -1,7 +1,6 @@
1
  import streamlit as st
2
  from streamlit_navigation_bar import st_navbar
3
- page = st_navbar(pages=["SBS V2.0 mapper"],selected="SBS V2.0 mapper", key="app_page_navbar")
4
- st.write(page)
5
  # --- SHARED ON ALL PAGES ---
6
  st.logo(image="images/menu_book_60dp_75FBFD.png")
7
  st.sidebar.title("SBS V2.0 mapper")
@@ -17,8 +16,8 @@ type_text_page = st.Page(
17
 
18
  # --- NAVIGATION SETUP ---
19
 
20
- #pg = st.navigation(pages=[type_text_page]) # WITHOUT SECTIONS
21
  #pg = st.navigation({"Chapter_Index": [start_page], "Demo": [type_text_page, upload_file_page], "About": [about_page]}) # WITH SECTIONS
22
- #pg.run()
23
- #page = st_navbar(["pages/type_text.py"], key="app_page_navbar")
24
  #st.write(page)
 
1
  import streamlit as st
2
  from streamlit_navigation_bar import st_navbar
3
+
 
4
  # --- SHARED ON ALL PAGES ---
5
  st.logo(image="images/menu_book_60dp_75FBFD.png")
6
  st.sidebar.title("SBS V2.0 mapper")
 
16
 
17
  # --- NAVIGATION SETUP ---
18
 
19
+ pg = st.navigation(pages=[type_text_page]) # WITHOUT SECTIONS
20
  #pg = st.navigation({"Chapter_Index": [start_page], "Demo": [type_text_page, upload_file_page], "About": [about_page]}) # WITH SECTIONS
21
+ pg.run()
22
+ #page = st_navbar(pages=["SBS V2.0 mapper"], selected="SBS V2.0 mapper", key="app_page_navbar")
23
  #st.write(page)