georad commited on
Commit
9038e9e
·
verified ·
1 Parent(s): a9042c3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +14 -0
app.py CHANGED
@@ -32,6 +32,20 @@ st.write("Trying to target the stApp container directly...")
32
  for i in range(50):
33
  st.write(f"More content: {i}")
34
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
35
  # --- NAVIGATION SETUP ---
36
  pg = st.navigation(pages=[type_text_page]) # WITHOUT SECTIONS
37
  #pg = st.navigation({"Chapter_Index": [start_page], "Demo": [type_text_page, upload_file_page], "About": [about_page]}) # WITH SECTIONS
 
32
  for i in range(50):
33
  st.write(f"More content: {i}")
34
 
35
+
36
+ --- PAGE SETUP ---
37
+ type_text_page = st.Page(
38
+ page="pages/type_text.py",
39
+ title="DEMO (work in progress)",
40
+ icon=":material/keyboard:",
41
+ default=False,)
42
+
43
+ about_page = st.Page(
44
+ page="pages/about.py",
45
+ title="About",
46
+ icon=":material/info:",
47
+ default=False)
48
+
49
  # --- NAVIGATION SETUP ---
50
  pg = st.navigation(pages=[type_text_page]) # WITHOUT SECTIONS
51
  #pg = st.navigation({"Chapter_Index": [start_page], "Demo": [type_text_page, upload_file_page], "About": [about_page]}) # WITH SECTIONS