Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -483,7 +483,7 @@ def save_leaderboard_data(data):
|
|
| 483 |
except Exception as e:
|
| 484 |
st.sidebar.error(f"Failed to upload leaderboard: {e}")
|
| 485 |
# ---------- MODIFIED FUNCTION (v2) ----------
|
| 486 |
-
def display_rankings(df, top_n=
|
| 487 |
if df.empty:
|
| 488 |
st.info("No completed games for this category yet. Be the first!")
|
| 489 |
return
|
|
|
|
| 483 |
except Exception as e:
|
| 484 |
st.sidebar.error(f"Failed to upload leaderboard: {e}")
|
| 485 |
# ---------- MODIFIED FUNCTION (v2) ----------
|
| 486 |
+
def display_rankings(df, top_n=200):
|
| 487 |
if df.empty:
|
| 488 |
st.info("No completed games for this category yet. Be the first!")
|
| 489 |
return
|