Spaces:
Sleeping
Sleeping
Kabalisticus
commited on
Commit
•
41c89ff
1
Parent(s):
242c8f5
Test 4
Browse files
app.py
CHANGED
@@ -118,7 +118,7 @@ def main():
|
|
118 |
st.write("### Select Competition")
|
119 |
|
120 |
# Create a header for the table
|
121 |
-
cols = st.columns([1, 3, 2, 2, 2, 2, 2, 2, 2
|
122 |
cols[0].write("Index")
|
123 |
cols[1].write("Competition Name")
|
124 |
cols[2].write("Leader")
|
@@ -127,11 +127,12 @@ def main():
|
|
127 |
cols[5].write("UID")
|
128 |
cols[6].write("Hotkey")
|
129 |
cols[7].write("Days on Top")
|
|
|
130 |
|
131 |
for index, (competition, details) in enumerate(projects.items(), start=1):
|
132 |
leader_info = st.session_state.get("leader_info", {}).get(competition, {})
|
133 |
|
134 |
-
cols = st.columns([1, 3, 2, 2, 2, 2, 1,
|
135 |
cols[0].write(index)
|
136 |
if cols[1].button(competition):
|
137 |
st.session_state.selected_competition = competition
|
|
|
118 |
st.write("### Select Competition")
|
119 |
|
120 |
# Create a header for the table
|
121 |
+
cols = st.columns([1, 3, 2, 2, 2, 2, 2, 2, 2])
|
122 |
cols[0].write("Index")
|
123 |
cols[1].write("Competition Name")
|
124 |
cols[2].write("Leader")
|
|
|
127 |
cols[5].write("UID")
|
128 |
cols[6].write("Hotkey")
|
129 |
cols[7].write("Days on Top")
|
130 |
+
cols[8].write("Accuracy")
|
131 |
|
132 |
for index, (competition, details) in enumerate(projects.items(), start=1):
|
133 |
leader_info = st.session_state.get("leader_info", {}).get(competition, {})
|
134 |
|
135 |
+
cols = st.columns([1, 3, 2, 2, 2, 2, 1, 2,2,2])
|
136 |
cols[0].write(index)
|
137 |
if cols[1].button(competition):
|
138 |
st.session_state.selected_competition = competition
|