Shane
commited on
Commit
•
908984c
1
Parent(s):
92c7f09
added changes
Browse files- app.py +3 -2
- src/css.py +4 -0
app.py
CHANGED
@@ -95,7 +95,7 @@ with gr.Blocks(css=custom_css) as app:
|
|
95 |
# filter_button = gr.Checkbox(label="Include AI2 training runs (or type ai2 above).", interactive=True)
|
96 |
# img = gr.Image(value="https://private-user-images.githubusercontent.com/10695622/310698241-24ed272a-0844-451f-b414-fde57478703e.png", width=500)
|
97 |
gr.Markdown("""
|
98 |
-
<img src="file/src/logo.png" height="
|
99 |
""")
|
100 |
with gr.Tabs(elem_classes="tab-buttons") as tabs:
|
101 |
with gr.TabItem("🏆 HREF Leaderboard"):
|
@@ -125,7 +125,8 @@ with gr.Blocks(css=custom_css) as app:
|
|
125 |
search_2 = gr.Textbox(label="Model Search (delimit with , )",
|
126 |
# placeholder="Model Search (delimit with , )",
|
127 |
show_label=True)
|
128 |
-
category_selector_2 = gr.Dropdown(categories, label="Sorted By", value="Average",
|
|
|
129 |
with gr.Row():
|
130 |
# reference data
|
131 |
rewardbench_table_hidden_nongreedy = gr.Dataframe(
|
|
|
95 |
# filter_button = gr.Checkbox(label="Include AI2 training runs (or type ai2 above).", interactive=True)
|
96 |
# img = gr.Image(value="https://private-user-images.githubusercontent.com/10695622/310698241-24ed272a-0844-451f-b414-fde57478703e.png", width=500)
|
97 |
gr.Markdown("""
|
98 |
+
<img src="file/src/logo.png" height="130">
|
99 |
""")
|
100 |
with gr.Tabs(elem_classes="tab-buttons") as tabs:
|
101 |
with gr.TabItem("🏆 HREF Leaderboard"):
|
|
|
125 |
search_2 = gr.Textbox(label="Model Search (delimit with , )",
|
126 |
# placeholder="Model Search (delimit with , )",
|
127 |
show_label=True)
|
128 |
+
category_selector_2 = gr.Dropdown(categories, label="Sorted By", value="Average",
|
129 |
+
multiselect=False, show_label=True, elem_id="category_selector")
|
130 |
with gr.Row():
|
131 |
# reference data
|
132 |
rewardbench_table_hidden_nongreedy = gr.Dataframe(
|
src/css.py
CHANGED
@@ -5,6 +5,10 @@ custom_css = """
|
|
5 |
max-width: 95%;
|
6 |
}
|
7 |
|
|
|
|
|
|
|
|
|
8 |
/* Text tyle and margins */
|
9 |
.markdown-text {
|
10 |
font-size: 17px !important;
|
|
|
5 |
max-width: 95%;
|
6 |
}
|
7 |
|
8 |
+
#category_selector_narrow {
|
9 |
+
width: 25% !important; /* Adjust width as needed */
|
10 |
+
}
|
11 |
+
|
12 |
/* Text tyle and margins */
|
13 |
.markdown-text {
|
14 |
font-size: 17px !important;
|