File size: 703 Bytes
f510c1c |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
import sqlite3
import pandas as pd
def load_leaderboard(db_path):
df = pd.read_csv(db_path) # Update table name if needed
return df
custom_css = """
h1, {
font-size: 48px !important; /* Increase heading sizes */
line-height: 2.0 !important; /* Increase line spacing */
text-align: center !important; /* Center align headings */
}
.gradio-container {
padding: 30px !important; /* Increase padding around the UI */
}
.markdown-body p {
font-size: 28px !important; /* Increase text size */
line-height: 2.0 !important; /* More space between lines */
}
.gradio-container .gr-block {
margin-bottom: 20px !important; /* Add more space between elements */
}
""" |