Shane commited on
Commit
557b080
1 Parent(s): db557f0

updated UI

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. src/css.py +4 -0
app.py CHANGED
@@ -103,7 +103,7 @@ with gr.Blocks(css=custom_css) as app:
103
  search_1 = gr.Textbox(label="Model Search (delimit with , )",
104
  # placeholder="Model Search (delimit with , )",
105
  show_label=True)
106
- category_selector_1 = gr.Dropdown(categories, label="Sorted By", value="Average", multiselect=False, show_label=True, elem_id="category_selector")
107
  with gr.Row():
108
  # reference data
109
  rewardbench_table_hidden = gr.Dataframe(
 
103
  search_1 = gr.Textbox(label="Model Search (delimit with , )",
104
  # placeholder="Model Search (delimit with , )",
105
  show_label=True)
106
+ category_selector_1 = gr.Dropdown(categories, label="Sorted By", value="Average", multiselect=False, show_label=True, elem_id="category_selector", elem_classes="category_selector_class")
107
  with gr.Row():
108
  # reference data
109
  rewardbench_table_hidden = gr.Dataframe(
src/css.py CHANGED
@@ -23,4 +23,8 @@ h1 {
23
  margin-top: 0px !important;
24
  }
25
 
 
 
 
 
26
  """
 
23
  margin-top: 0px !important;
24
  }
25
 
26
+ .category_selector {
27
+ width: 25% !important; /* Adjust width as needed */
28
+ }
29
+
30
  """