SondosMB commited on
Commit
45d118c
Β·
verified Β·
1 Parent(s): 7bdeca8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +17 -13
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
- css_dark_mode = """
315
  body {
316
- background-color: #1e1e1e;
317
- color: #ffffff;
 
318
  }
319
 
320
  a {
321
- color: #4caf50;
322
  }
323
 
324
  a:hover {
325
- color: #81c784;
326
  text-decoration: underline;
327
  }
328
 
329
  button {
330
- background-color: #4caf50;
331
  color: #ffffff;
332
  border-radius: 5px;
333
  padding: 10px;
334
  }
335
 
336
  button:hover {
337
- background-color: #81c784;
338
  }
339
 
340
  .input-row, .tab-content {
341
- background-color: #333333;
342
  border-radius: 8px;
343
  padding: 15px;
344
  }
345
 
346
  .dataframe {
347
- color: #ffffff;
348
- background-color: #2e2e2e;
349
- border: 1px solid #4caf50;
350
  }
351
  """
352
 
353
- with gr.Blocks(css=css_dark_mode) as demo:
 
354
  gr.Markdown("""
355
- # πŸ† **Competition Title**
356
  ### 🌟 **Welcome to the Competition Overview**
357
  ![Competition Logo](mobile_mmlu_sd.jpeg)
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
  ![Competition Logo](mobile_mmlu_sd.jpeg)
361
  ---
 
435
  gr.Markdown(f"**πŸ“… Last updated:** {LAST_UPDATED}")
436
 
437
  demo.launch()
438
+