SUNGJIN LEE
commited on
Commit
·
0f459c2
1
Parent(s):
60bb61d
페이지 제목 추가
Browse files- app.py +8 -3
- pages/About.py +2 -0
- pages/Algorithm.py +17 -0
- pages/Data.py +5 -8
- pages/Home.py +1 -1
app.py
CHANGED
|
@@ -33,9 +33,13 @@ About = st.Page(
|
|
| 33 |
"pages/About.py", title="About", icon=":material/info:"
|
| 34 |
)
|
| 35 |
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 39 |
Dashboard = st.Page(
|
| 40 |
"pages/Dashboard.py", title="Dashboard", icon=":material/dashboard:"
|
| 41 |
)
|
|
@@ -48,6 +52,7 @@ if st.session_state.logged_in:
|
|
| 48 |
pg = st.navigation(
|
| 49 |
{
|
| 50 |
"": [Home, About],
|
|
|
|
| 51 |
"System" : [Dashboard, Recommendation_System],
|
| 52 |
"Account": [logout_page]
|
| 53 |
}
|
|
|
|
| 33 |
"pages/About.py", title="About", icon=":material/info:"
|
| 34 |
)
|
| 35 |
|
| 36 |
+
Data = st.Page(
|
| 37 |
+
"pages/Data.py", title="Data", icon=":material/data_usage:"
|
| 38 |
+
)
|
| 39 |
+
Algorithm = st.Page(
|
| 40 |
+
"pages/Algorithm.py", title="Algorithm", icon=":material/insights:"
|
| 41 |
+
)
|
| 42 |
+
|
| 43 |
Dashboard = st.Page(
|
| 44 |
"pages/Dashboard.py", title="Dashboard", icon=":material/dashboard:"
|
| 45 |
)
|
|
|
|
| 52 |
pg = st.navigation(
|
| 53 |
{
|
| 54 |
"": [Home, About],
|
| 55 |
+
# "Development": [Data, Algorithm],
|
| 56 |
"System" : [Dashboard, Recommendation_System],
|
| 57 |
"Account": [logout_page]
|
| 58 |
}
|
pages/About.py
CHANGED
|
@@ -3,6 +3,8 @@ from streamlit.logger import get_logger
|
|
| 3 |
|
| 4 |
LOGGER = get_logger(__name__)
|
| 5 |
|
|
|
|
|
|
|
| 6 |
st.markdown(
|
| 7 |
"""
|
| 8 |
##### *🚀 Team ASAP은 네트워크의 에너지 소비를 줄이고 탄소 배출을 감소시키기 위한 AI 알고리즘을 개발하고 있습니다. 우리의 목표는 모바일 네트워크에서 에너지 효율성을 극대화하여 지속 가능한 발전을 이루는 것입니다.*
|
|
|
|
| 3 |
|
| 4 |
LOGGER = get_logger(__name__)
|
| 5 |
|
| 6 |
+
st.write("# About")
|
| 7 |
+
|
| 8 |
st.markdown(
|
| 9 |
"""
|
| 10 |
##### *🚀 Team ASAP은 네트워크의 에너지 소비를 줄이고 탄소 배출을 감소시키기 위한 AI 알고리즘을 개발하고 있습니다. 우리의 목표는 모바일 네트워크에서 에너지 효율성을 극대화하여 지속 가능한 발전을 이루는 것입니다.*
|
pages/Algorithm.py
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import streamlit as st
|
| 2 |
+
import pandas as pd
|
| 3 |
+
from datasets import load_dataset
|
| 4 |
+
import data
|
| 5 |
+
import seaborn as sns
|
| 6 |
+
|
| 7 |
+
st.set_page_config(layout="wide")
|
| 8 |
+
|
| 9 |
+
st.write("# Algorithm")
|
| 10 |
+
|
| 11 |
+
with st.spinner("데이터 로딩 중..."):
|
| 12 |
+
df, df_map = data.load_data()
|
| 13 |
+
st.dataframe(df)
|
| 14 |
+
|
| 15 |
+
st.tabs(
|
| 16 |
+
["Data", "Map"]
|
| 17 |
+
)
|
pages/Data.py
CHANGED
|
@@ -6,15 +6,12 @@ import seaborn as sns
|
|
| 6 |
|
| 7 |
st.set_page_config(layout="wide")
|
| 8 |
|
|
|
|
|
|
|
| 9 |
with st.spinner("데이터 로딩 중..."):
|
| 10 |
df, df_map = data.load_data()
|
| 11 |
st.dataframe(df)
|
| 12 |
|
| 13 |
-
st.
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
st.write(df.describe())
|
| 17 |
-
|
| 18 |
-
st.write("### 데이터 시각화")
|
| 19 |
-
sns.pairplot(df)
|
| 20 |
-
st.pyplot()
|
|
|
|
| 6 |
|
| 7 |
st.set_page_config(layout="wide")
|
| 8 |
|
| 9 |
+
st.write("# Data")
|
| 10 |
+
|
| 11 |
with st.spinner("데이터 로딩 중..."):
|
| 12 |
df, df_map = data.load_data()
|
| 13 |
st.dataframe(df)
|
| 14 |
|
| 15 |
+
st.tabs(
|
| 16 |
+
["Data", "Map"]
|
| 17 |
+
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
pages/Home.py
CHANGED
|
@@ -4,5 +4,5 @@ import yaml
|
|
| 4 |
|
| 5 |
LOGGER = get_logger(__name__)
|
| 6 |
|
| 7 |
-
st.write("#
|
| 8 |
|
|
|
|
| 4 |
|
| 5 |
LOGGER = get_logger(__name__)
|
| 6 |
|
| 7 |
+
st.write("# Home")
|
| 8 |
|