Update app.py
Browse files
app.py
CHANGED
|
@@ -144,6 +144,7 @@ def evaluate_predictions(prediction_file, model_name, add_to_leaderboard):
|
|
| 144 |
|
| 145 |
initialize_leaderboard_file()
|
| 146 |
|
|
|
|
| 147 |
# Function to set default mode
|
| 148 |
css_tech_theme = """
|
| 149 |
body {
|
|
@@ -207,18 +208,27 @@ button:hover {
|
|
| 207 |
font-size: 14px;
|
| 208 |
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
|
| 209 |
}
|
| 210 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 211 |
|
| 212 |
|
| 213 |
with gr.Blocks(css=css_tech_theme) as demo:
|
| 214 |
gr.Markdown("""
|
| 215 |
-
|
| 216 |
-
|
| 217 |
-
|
| 218 |
-
|
| 219 |
-
Welcome to the
|
| 220 |
-
|
| 221 |
-
|
|
|
|
| 222 |
|
| 223 |
with gr.Tabs(elem_id="tabs"):
|
| 224 |
with gr.TabItem("π Overview", elem_classes=["tab-item"]):
|
|
|
|
| 144 |
|
| 145 |
initialize_leaderboard_file()
|
| 146 |
|
| 147 |
+
# Function to set default mode
|
| 148 |
# Function to set default mode
|
| 149 |
css_tech_theme = """
|
| 150 |
body {
|
|
|
|
| 208 |
font-size: 14px;
|
| 209 |
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
|
| 210 |
}
|
| 211 |
+
|
| 212 |
+
.center-content {
|
| 213 |
+
display: flex;
|
| 214 |
+
flex-direction: column;
|
| 215 |
+
align-items: center;
|
| 216 |
+
justify-content: center;
|
| 217 |
+
text-align: center;
|
| 218 |
+
margin: 20px 0;
|
| 219 |
+
}"""
|
| 220 |
|
| 221 |
|
| 222 |
with gr.Blocks(css=css_tech_theme) as demo:
|
| 223 |
gr.Markdown("""
|
| 224 |
+
<div class="center-content">
|
| 225 |
+
<h1>π Mobile-MMLU Benchmark Competition</h1>
|
| 226 |
+
<h3>π Welcome to the Competition Overview</h3>
|
| 227 |
+
<img src="https://via.placeholder.com/150" alt="Competition Logo" style="margin: 20px 0;">
|
| 228 |
+
<p>Welcome to the <strong>Mobile-MMLU Benchmark Competition</strong>. Here you can submit your predictions, view the leaderboard, and track your performance!</p>
|
| 229 |
+
<hr>
|
| 230 |
+
</div>
|
| 231 |
+
""",elem_id="center-content"))
|
| 232 |
|
| 233 |
with gr.Tabs(elem_id="tabs"):
|
| 234 |
with gr.TabItem("π Overview", elem_classes=["tab-item"]):
|