Roni Goldshmidt
commited on
Commit
·
2fd2cfa
1
Parent(s):
ef7060d
Initial leaderboard setup
Browse files- .ipynb_checkpoints/app-checkpoint.py +2 -2
- app.py +2 -2
.ipynb_checkpoints/app-checkpoint.py
CHANGED
@@ -63,7 +63,6 @@ if 'model_comparison' not in st.session_state:
|
|
63 |
st.session_state.model_comparison = load_data()
|
64 |
st.session_state.leaderboard_df = st.session_state.model_comparison.transform_to_leaderboard()
|
65 |
st.session_state.combined_df = st.session_state.model_comparison.combined_df
|
66 |
-
categories = st.session_state.combined_df['Category'].unique()
|
67 |
|
68 |
# Create tabs
|
69 |
tab1, tab2, tab3 = st.tabs([
|
@@ -155,7 +154,8 @@ with tab1:
|
|
155 |
# Tab 2: Class Performance
|
156 |
with tab2:
|
157 |
st.subheader("Class-level Performance")
|
158 |
-
|
|
|
159 |
col1, col2, col3 = st.columns(3)
|
160 |
with col1:
|
161 |
selected_category = st.selectbox(
|
|
|
63 |
st.session_state.model_comparison = load_data()
|
64 |
st.session_state.leaderboard_df = st.session_state.model_comparison.transform_to_leaderboard()
|
65 |
st.session_state.combined_df = st.session_state.model_comparison.combined_df
|
|
|
66 |
|
67 |
# Create tabs
|
68 |
tab1, tab2, tab3 = st.tabs([
|
|
|
154 |
# Tab 2: Class Performance
|
155 |
with tab2:
|
156 |
st.subheader("Class-level Performance")
|
157 |
+
categories = st.session_state.combined_df['Category'].unique()
|
158 |
+
|
159 |
col1, col2, col3 = st.columns(3)
|
160 |
with col1:
|
161 |
selected_category = st.selectbox(
|
app.py
CHANGED
@@ -63,7 +63,6 @@ if 'model_comparison' not in st.session_state:
|
|
63 |
st.session_state.model_comparison = load_data()
|
64 |
st.session_state.leaderboard_df = st.session_state.model_comparison.transform_to_leaderboard()
|
65 |
st.session_state.combined_df = st.session_state.model_comparison.combined_df
|
66 |
-
categories = st.session_state.combined_df['Category'].unique()
|
67 |
|
68 |
# Create tabs
|
69 |
tab1, tab2, tab3 = st.tabs([
|
@@ -155,7 +154,8 @@ with tab1:
|
|
155 |
# Tab 2: Class Performance
|
156 |
with tab2:
|
157 |
st.subheader("Class-level Performance")
|
158 |
-
|
|
|
159 |
col1, col2, col3 = st.columns(3)
|
160 |
with col1:
|
161 |
selected_category = st.selectbox(
|
|
|
63 |
st.session_state.model_comparison = load_data()
|
64 |
st.session_state.leaderboard_df = st.session_state.model_comparison.transform_to_leaderboard()
|
65 |
st.session_state.combined_df = st.session_state.model_comparison.combined_df
|
|
|
66 |
|
67 |
# Create tabs
|
68 |
tab1, tab2, tab3 = st.tabs([
|
|
|
154 |
# Tab 2: Class Performance
|
155 |
with tab2:
|
156 |
st.subheader("Class-level Performance")
|
157 |
+
categories = st.session_state.combined_df['Category'].unique()
|
158 |
+
|
159 |
col1, col2, col3 = st.columns(3)
|
160 |
with col1:
|
161 |
selected_category = st.selectbox(
|