Pratik Bhavsar commited on
Commit
b1aaf09
Β·
1 Parent(s): 10ad72f

improved title

Browse files
Files changed (2) hide show
  1. app.py +2 -2
  2. data_loader.py +26 -0
app.py CHANGED
@@ -1,5 +1,5 @@
1
  import gradio as gr
2
- from data_loader import load_data, CATEGORIES, INSIGHTS, METHODOLOGY
3
  from utils import model_info_tab, filter_leaderboard
4
  from visualization import setup_matplotlib
5
 
@@ -31,7 +31,7 @@ def create_app():
31
  )
32
 
33
  with gr.Column(scale=4):
34
- gr.Markdown("# Agent Leaderboard")
35
  output = gr.HTML()
36
  plot1 = gr.Plot()
37
  plot2 = gr.Plot()
 
1
  import gradio as gr
2
+ from data_loader import load_data, CATEGORIES, INSIGHTS, METHODOLOGY, TITLE
3
  from utils import model_info_tab, filter_leaderboard
4
  from visualization import setup_matplotlib
5
 
 
31
  )
32
 
33
  with gr.Column(scale=4):
34
+ gr.Markdown(TITLE)
35
  output = gr.HTML()
36
  plot1 = gr.Plot()
37
  plot2 = gr.Plot()
data_loader.py CHANGED
@@ -76,3 +76,29 @@ METHODOLOGY = """
76
  | | 100 | Missing Parameters | BFCL_v3_multi_turn_miss_param | Assesses parameter collection and handling incomplete information |
77
  | | 100 | Composite | BFCL_v3_multi_turn_composite | Tests overall robustness in complex scenarios |
78
  """
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
76
  | | 100 | Missing Parameters | BFCL_v3_multi_turn_miss_param | Assesses parameter collection and handling incomplete information |
77
  | | 100 | Composite | BFCL_v3_multi_turn_composite | Tests overall robustness in complex scenarios |
78
  """
79
+
80
+ TITLE = """
81
+ <div style="text-align: center; margin-bottom: 2rem;">
82
+ <h1 style="margin-bottom: 1rem; font-size: 2.5rem; font-weight: bold;">Agent Leaderboard</h1>
83
+ <div style="display: flex; justify-content: center; gap: 2rem; font-size: 1.1rem;">
84
+ <a href="https://galileo.ai" style="text-decoration: none; color: #4F46E5; font-weight: 500; display: flex; align-items: center; gap: 0.5rem;">
85
+ πŸ“ Blog
86
+ </a>
87
+ <a href="https://galileo.ai" style="text-decoration: none; color: #4F46E5; font-weight: 500; display: flex; align-items: center; gap: 0.5rem;">
88
+ <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
89
+ <path d="M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0 0-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0 0 20 4.77 5.07 5.07 0 0 0 19.91 1S18.73.65 16 2.48a13.38 13.38 0 0 0-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 0 0 5 4.77a5.44 5.44 0 0 0-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 0 0 9 18.13V22"></path>
90
+ </svg>
91
+ GitHub
92
+ </a>
93
+ <a href="https://galileo.ai" style="text-decoration: none; color: #4F46E5; font-weight: 500; display: flex; align-items: center; gap: 0.5rem;">
94
+ πŸ“„ Paper
95
+ </a>
96
+ <a href="https://galileo.ai" style="text-decoration: none; color: #4F46E5; font-weight: 500; display: flex; align-items: center; gap: 0.5rem;">
97
+ πŸ“Š Dataset
98
+ </a>
99
+ </div>
100
+ <div style="margin-top: 1rem; color: #6B7280; font-size: 0.9rem;">
101
+ Last updated: January 2025
102
+ </div>
103
+ </div>
104
+ """