Upload streamlit_app.py
Browse files- streamlit_app.py +17 -0
streamlit_app.py
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import streamlit as st
|
2 |
+
|
3 |
+
main_page = st.Page("main.py", title="Описание"
|
4 |
+
)
|
5 |
+
Leaderboard_page = st.Page("Leaderboard.py", title="Лидерборд"
|
6 |
+
)
|
7 |
+
|
8 |
+
pg = st.navigation(
|
9 |
+
{
|
10 |
+
"Main": [Leaderboard_page, main_page],
|
11 |
+
}
|
12 |
+
)
|
13 |
+
st.set_page_config(page_title="Leaderboard", layout="wide", page_icon="🏆",
|
14 |
+
)
|
15 |
+
pg.run()
|
16 |
+
|
17 |
+
|