wassemgtk commited on
Commit
b15b106
Β·
verified Β·
1 Parent(s): c2c6410
Files changed (1) hide show
  1. app.py +12 -5
app.py CHANGED
@@ -130,36 +130,43 @@ def create_leaderboard():
130
  # Create Gradio interface with a nice theme
131
  with gr.Blocks(theme=gr.themes.Soft(), title="Financial Model Performance Leaderboard") as demo:
132
  gr.Markdown("# Financial Model Performance Leaderboard")
 
 
 
 
 
 
 
133
 
134
  with gr.Row():
135
  with gr.Column():
136
- with gr.Tab("Robustness Results"):
137
  gr.DataFrame(
138
  value=formatted_robustness_df,
139
  label="Robustness Results",
140
  wrap=True,
141
  elem_classes=["custom-table"]
142
  )
143
- with gr.Tab("Context Grounding Results"):
144
  gr.DataFrame(
145
  value=formatted_context_grounding_df,
146
  label="Context Grounding Results",
147
  wrap=True,
148
  elem_classes=["custom-table"]
149
  )
150
- with gr.Tab("Top 3 Winners"):
151
  gr.DataFrame(
152
  value=winners_df,
153
  label="Top 3 Models",
154
  wrap=True,
155
  elem_classes=["custom-table"]
156
  )
157
- with gr.Tab("About"):
158
  gr.HTML("""
159
  <div style="padding: 20px;">
160
  <h2>About This Leaderboard</h2>
161
  <p>This Financial Model Performance Leaderboard compares the performance of various AI models across robustness and context grounding metrics. The data is sourced from evaluations conducted on February 18, 2025, and reflects the models' ability to handle financial tasks under different conditions.</p>
162
- <p>For more information, contact us at <a href="mailto:support@xai.com">support@xai.com</a>.</p>
163
  </div>
164
  """)
165
  with gr.Row():
 
130
  # Create Gradio interface with a nice theme
131
  with gr.Blocks(theme=gr.themes.Soft(), title="Financial Model Performance Leaderboard") as demo:
132
  gr.Markdown("# Financial Model Performance Leaderboard")
133
+ gr.HTML("""
134
+ <div style="padding: 20px;">
135
+ <h2>About This Leaderboard</h2>
136
+ <p>This Financial Model Performance Leaderboard compares the performance of various AI models across robustness and context grounding metrics. The data is sourced from evaluations conducted on February 18, 2025, and reflects the models' ability to handle financial tasks under different conditions.</p>
137
+ <p>For more information, contact us at <a href="mailto:[email protected]">[email protected]</a>.</p>
138
+ </div>
139
+ """)
140
 
141
  with gr.Row():
142
  with gr.Column():
143
+ with gr.Tab("🎯 Robustness Results"):
144
  gr.DataFrame(
145
  value=formatted_robustness_df,
146
  label="Robustness Results",
147
  wrap=True,
148
  elem_classes=["custom-table"]
149
  )
150
+ with gr.Tab("🧩 Context Grounding Results"):
151
  gr.DataFrame(
152
  value=formatted_context_grounding_df,
153
  label="Context Grounding Results",
154
  wrap=True,
155
  elem_classes=["custom-table"]
156
  )
157
+ with gr.Tab("πŸ… Top 3 Winners"):
158
  gr.DataFrame(
159
  value=winners_df,
160
  label="Top 3 Models",
161
  wrap=True,
162
  elem_classes=["custom-table"]
163
  )
164
+ with gr.Tab("πŸ“ About FailSafe"):
165
  gr.HTML("""
166
  <div style="padding: 20px;">
167
  <h2>About This Leaderboard</h2>
168
  <p>This Financial Model Performance Leaderboard compares the performance of various AI models across robustness and context grounding metrics. The data is sourced from evaluations conducted on February 18, 2025, and reflects the models' ability to handle financial tasks under different conditions.</p>
169
+ <p>For more information, contact us at <a href="mailto:support@writer.com">support@writer.com</a>.</p>
170
  </div>
171
  """)
172
  with gr.Row():