SondosMB commited on
Commit
b8ab1fc
Β·
verified Β·
1 Parent(s): 7e020a6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +18 -8
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
- # πŸ† Mobile-MMLU Benchmark Competition
216
- ### 🌟 Welcome to the Competition Overview
217
- ![Competition Logo](https://via.placeholder.com/150)
218
- ---
219
- Welcome to the **Mobile-MMLU Benchmark Competition**. Here you can submit your predictions, view the leaderboard, and track your performance.
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"]):