Spaces:
Running
Running
Commit
·
0762cf8
1
Parent(s):
559ad26
Update accent color to darkgreen
Browse files
app.py
CHANGED
|
@@ -10,6 +10,7 @@ from about import CITATION_BUTTON_LABEL, CITATION_BUTTON_TEXT
|
|
| 10 |
import numpy as np
|
| 11 |
import plotly.graph_objects as go
|
| 12 |
import plotly.express as px
|
|
|
|
| 13 |
|
| 14 |
def filter_leaderboard(benchmark, model_type, search_query, max_params):
|
| 15 |
subset = df[df['Benchmark'] == benchmark]
|
|
@@ -90,7 +91,7 @@ function refresh() {
|
|
| 90 |
}
|
| 91 |
"""
|
| 92 |
|
| 93 |
-
with gr.Blocks(css=custom_css, js=js_func) as app:
|
| 94 |
df, benchmarks, metrics, default_metric = read_data()
|
| 95 |
gr.Markdown("""# TuRTLe 🐢 Model Leaderboard""")
|
| 96 |
gr.HTML("""
|
|
|
|
| 10 |
import numpy as np
|
| 11 |
import plotly.graph_objects as go
|
| 12 |
import plotly.express as px
|
| 13 |
+
from gradio.themes.utils import colors
|
| 14 |
|
| 15 |
def filter_leaderboard(benchmark, model_type, search_query, max_params):
|
| 16 |
subset = df[df['Benchmark'] == benchmark]
|
|
|
|
| 91 |
}
|
| 92 |
"""
|
| 93 |
|
| 94 |
+
with gr.Blocks(css=custom_css, js=js_func, theme=gr.themes.Default(primary_hue=colors.emerald)) as app:
|
| 95 |
df, benchmarks, metrics, default_metric = read_data()
|
| 96 |
gr.Markdown("""# TuRTLe 🐢 Model Leaderboard""")
|
| 97 |
gr.HTML("""
|