Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -145,11 +145,14 @@ with gr.Blocks() as demo:
|
|
145 |
# --- Header Links (at the very top, evenly spaced) ---
|
146 |
gr.HTML("""
|
147 |
<style>
|
148 |
-
@media (prefers-color-scheme: dark) {
|
149 |
.header-link {
|
150 |
-
color:
|
|
|
|
|
|
|
|
|
|
|
151 |
}
|
152 |
-
}
|
153 |
</style>
|
154 |
<div style="display: flex; justify-content: space-evenly; align-items: center; margin-bottom: 20px;">
|
155 |
<a class="header-link" href="https://huggingface.co/spaces/AIEnergyScore/leaderboard" style="text-decoration: none; font-weight: bold; font-size: 1.1em; font-family: 'Inter', sans-serif;">Leaderboard</a>
|
@@ -160,6 +163,7 @@ with gr.Blocks() as demo:
|
|
160 |
</div>
|
161 |
""")
|
162 |
|
|
|
163 |
# --- Logo (centered) ---
|
164 |
gr.HTML("""
|
165 |
<div style="margin-top: 0px;">
|
|
|
145 |
# --- Header Links (at the very top, evenly spaced) ---
|
146 |
gr.HTML("""
|
147 |
<style>
|
|
|
148 |
.header-link {
|
149 |
+
color: black !important;
|
150 |
+
}
|
151 |
+
@media (prefers-color-scheme: dark) {
|
152 |
+
.header-link {
|
153 |
+
color: white !important;
|
154 |
+
}
|
155 |
}
|
|
|
156 |
</style>
|
157 |
<div style="display: flex; justify-content: space-evenly; align-items: center; margin-bottom: 20px;">
|
158 |
<a class="header-link" href="https://huggingface.co/spaces/AIEnergyScore/leaderboard" style="text-decoration: none; font-weight: bold; font-size: 1.1em; font-family: 'Inter', sans-serif;">Leaderboard</a>
|
|
|
163 |
</div>
|
164 |
""")
|
165 |
|
166 |
+
|
167 |
# --- Logo (centered) ---
|
168 |
gr.HTML("""
|
169 |
<div style="margin-top: 0px;">
|