themeetjani commited on
Commit
49706d2
β€’
1 Parent(s): 3ba44a2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +27 -1
app.py CHANGED
@@ -2,7 +2,7 @@ import streamlit as st
2
  import pandas as pd
3
  import base64
4
  import json
5
-
6
  st.set_page_config(
7
  page_title="app",
8
  page_icon="πŸ“ˆ",
@@ -96,4 +96,30 @@ st.markdown(
96
  </style>
97
  """,
98
  unsafe_allow_html=True
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
99
  )
 
2
  import pandas as pd
3
  import base64
4
  import json
5
+ from st_pages import Page, Section, show_pages, add_page_title,add_indentation
6
  st.set_page_config(
7
  page_title="app",
8
  page_icon="πŸ“ˆ",
 
96
  </style>
97
  """,
98
  unsafe_allow_html=True
99
+ )
100
+
101
+ add_indentation()
102
+
103
+ # Specify what pages should be shown in the sidebar, and what their titles and icons
104
+ # should be
105
+ show_pages(
106
+ [
107
+ Page("app.py", "Home", "🏠"),
108
+ Section("GenAI", icon="πŸ€–"),
109
+ Page("pages2/AI_Chatbot.py", "AI Chatbot", "πŸ“ˆ",in_section=True),
110
+ # Pages after a section will be indented
111
+ Page("pages2/Auto_Code_Generation.py", "Auto Code Generation", "πŸ“ˆ"),
112
+ Page("pages2/Auto_Report_Generation.py", "Auto Report Generation", "πŸ“ˆ"),
113
+
114
+ Page("pages2/Auto_Score_Generation.py", "Auto Score Generation", "πŸ“ˆ"),
115
+
116
+ Page("pages2/core_risk.py", "Core Risk Classification", "πŸ“ˆ"),
117
+
118
+ Page("pages2/jury_records.py", "Jury Records", "πŸ“ˆ"),
119
+
120
+ Page("pages2/topic_classification.py", "Topic Classification", "πŸ“ˆ"),
121
+ Section("Deep Learning", icon="πŸ€–"),
122
+ Section("Machine Learning", icon="πŸ€–")
123
+
124
+ ]
125
  )