Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -254,29 +254,32 @@ with block:
|
|
254 |
|
255 |
styler = build_leaderboard_styler()
|
256 |
|
257 |
-
gr.
|
258 |
-
|
259 |
-
|
260 |
-
|
261 |
-
|
262 |
-
|
263 |
-
|
264 |
-
|
265 |
-
|
266 |
-
|
267 |
-
|
268 |
-
|
269 |
-
|
270 |
-
|
271 |
-
|
272 |
-
|
273 |
-
|
274 |
-
|
275 |
-
|
276 |
-
|
277 |
-
|
278 |
-
|
279 |
-
|
|
|
|
|
|
|
280 |
|
281 |
with gr.Row(show_progress=True, variant='panel'):
|
282 |
data_component = gr.Dataframe(
|
|
|
254 |
|
255 |
styler = build_leaderboard_styler()
|
256 |
|
257 |
+
with gr.Row():
|
258 |
+
with gr.Column(scale=1):
|
259 |
+
gr.Markdown(
|
260 |
+
"""
|
261 |
+
### Method-name colour legend
|
262 |
+
<span style='color:green; font-weight:bold;'>Green</span>β Classical representations
|
263 |
+
<span style='color:blue; font-weight:bold;'>Blue</span>β Small-scale learned representations
|
264 |
+
<span style='color:red; font-weight:bold;'>Red</span>β Large-scale learned representations
|
265 |
+
<span style='color:orange;font-weight:bold;'>Orange</span>β Multimodal learned representations
|
266 |
+
""",
|
267 |
+
elem_classes="leaderboard-note",
|
268 |
+
)
|
269 |
+
|
270 |
+
with gr.Column(scale=1)
|
271 |
+
gr.Markdown(
|
272 |
+
"""
|
273 |
+
### Metric-cell shading
|
274 |
+
<span style='background-color:#006400; color:white; padding:0 .4rem; border-radius:.2rem;'>1</span>
|
275 |
+
<span style='background-color:#228B22; color:white; padding:0 .4rem; border-radius:.2rem;'>2</span>
|
276 |
+
<span style='background-color:#32CD32; color:black; padding:0 .4rem; border-radius:.2rem;'>3</span>
|
277 |
+
<span style='background-color:#7CFC00; color:black; padding:0 .4rem; border-radius:.2rem;'>4</span>
|
278 |
+
<span style='background-color:#ADFF2F; color:black; padding:0 .4rem; border-radius:.2rem;'>5</span>
|
279 |
+
β= top-five scores (darkest β best)
|
280 |
+
""",
|
281 |
+
elem_classes="leaderboard-note",
|
282 |
+
)
|
283 |
|
284 |
with gr.Row(show_progress=True, variant='panel'):
|
285 |
data_component = gr.Dataframe(
|