Update app.py
Browse files
app.py
CHANGED
|
@@ -309,50 +309,53 @@ def evaluate_predictions(prediction_file, model_name, add_to_leaderboard):
|
|
| 309 |
|
| 310 |
initialize_leaderboard_file()
|
| 311 |
|
|
|
|
| 312 |
|
| 313 |
# Function to set default mode
|
| 314 |
-
|
| 315 |
body {
|
| 316 |
-
background-color: #
|
| 317 |
-
color: #
|
|
|
|
| 318 |
}
|
| 319 |
|
| 320 |
a {
|
| 321 |
-
color: #
|
| 322 |
}
|
| 323 |
|
| 324 |
a:hover {
|
| 325 |
-
color: #
|
| 326 |
text-decoration: underline;
|
| 327 |
}
|
| 328 |
|
| 329 |
button {
|
| 330 |
-
background-color: #
|
| 331 |
color: #ffffff;
|
| 332 |
border-radius: 5px;
|
| 333 |
padding: 10px;
|
| 334 |
}
|
| 335 |
|
| 336 |
button:hover {
|
| 337 |
-
background-color: #
|
| 338 |
}
|
| 339 |
|
| 340 |
.input-row, .tab-content {
|
| 341 |
-
background-color: #
|
| 342 |
border-radius: 8px;
|
| 343 |
padding: 15px;
|
| 344 |
}
|
| 345 |
|
| 346 |
.dataframe {
|
| 347 |
-
color: #
|
| 348 |
-
background-color: #
|
| 349 |
-
border: 1px solid #
|
| 350 |
}
|
| 351 |
"""
|
| 352 |
|
| 353 |
-
|
|
|
|
| 354 |
gr.Markdown("""
|
| 355 |
-
# π **Competition
|
| 356 |
### π **Welcome to the Competition Overview**
|
| 357 |

|
| 358 |
---
|
|
@@ -432,3 +435,4 @@ For support, email: [Insert Email Address]
|
|
| 432 |
gr.Markdown(f"**π
Last updated:** {LAST_UPDATED}")
|
| 433 |
|
| 434 |
demo.launch()
|
|
|
|
|
|
| 309 |
|
| 310 |
initialize_leaderboard_file()
|
| 311 |
|
| 312 |
+
import gradio as gr
|
| 313 |
|
| 314 |
# Function to set default mode
|
| 315 |
+
css_tech_theme = """
|
| 316 |
body {
|
| 317 |
+
background-color: #f4f4f9;
|
| 318 |
+
color: #2e2e2e;
|
| 319 |
+
font-family: Arial, sans-serif;
|
| 320 |
}
|
| 321 |
|
| 322 |
a {
|
| 323 |
+
color: #4a90e2;
|
| 324 |
}
|
| 325 |
|
| 326 |
a:hover {
|
| 327 |
+
color: #7d56c5;
|
| 328 |
text-decoration: underline;
|
| 329 |
}
|
| 330 |
|
| 331 |
button {
|
| 332 |
+
background-color: #4a90e2;
|
| 333 |
color: #ffffff;
|
| 334 |
border-radius: 5px;
|
| 335 |
padding: 10px;
|
| 336 |
}
|
| 337 |
|
| 338 |
button:hover {
|
| 339 |
+
background-color: #7d56c5;
|
| 340 |
}
|
| 341 |
|
| 342 |
.input-row, .tab-content {
|
| 343 |
+
background-color: #e9eef5;
|
| 344 |
border-radius: 8px;
|
| 345 |
padding: 15px;
|
| 346 |
}
|
| 347 |
|
| 348 |
.dataframe {
|
| 349 |
+
color: #2e2e2e;
|
| 350 |
+
background-color: #f4f4f9;
|
| 351 |
+
border: 1px solid #4a90e2;
|
| 352 |
}
|
| 353 |
"""
|
| 354 |
|
| 355 |
+
|
| 356 |
+
with gr.Blocks(css=css_tech_theme) as demo:
|
| 357 |
gr.Markdown("""
|
| 358 |
+
# π **Mobile-MMLU Benchmark Competition**
|
| 359 |
### π **Welcome to the Competition Overview**
|
| 360 |

|
| 361 |
---
|
|
|
|
| 435 |
gr.Markdown(f"**π
Last updated:** {LAST_UPDATED}")
|
| 436 |
|
| 437 |
demo.launch()
|
| 438 |
+
|