[email protected] commited on
Commit
ea097e4
·
1 Parent(s): fa9f568

Include some url path

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -64,11 +64,11 @@ def main():
64
 
65
  # st.write(f"**User ID:** {userId}")
66
 
67
- documents = st.Page("pages/documents.py", title="Vos documents", icon="📂")
68
- form = st.Page("pages/chapter_params.py", title="Paramètres", icon="📋")
69
 
70
  chapters_pages = [
71
- st.Page(f"pages/chap_{chapter['num']}.py", title=chapter['name'], icon="📄")
72
  for chapter in st.session_state["chapters"]
73
  ]
74
 
 
64
 
65
  # st.write(f"**User ID:** {userId}")
66
 
67
+ documents = st.Page("pages/documents.py", url_path="documents", title="Vos documents", icon="📂")
68
+ form = st.Page("pages/chapter_params.py", url_path="configurations", title="Paramètres", icon="📋")
69
 
70
  chapters_pages = [
71
+ st.Page(f"pages/chap_{chapter['num']}.py", url_path=chapter['key'], title=chapter['name'], icon="📄")
72
  for chapter in st.session_state["chapters"]
73
  ]
74