Spaces:
Sleeping
Sleeping
themeetjani
commited on
Commit
β’
49706d2
1
Parent(s):
3ba44a2
Update app.py
Browse files
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 |
)
|