devingulliver commited on
Commit
56c5118
Β·
verified Β·
1 Parent(s): 470c0b0

Switch Dropdowns to CheckboxGroups

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -48,10 +48,10 @@ with gr.Blocks() as demo:
48
  with gr.Tabs(elem_classes="tab-buttons") as tabs:
49
  with gr.Tab("πŸ… LLM Benchmark"):
50
  with gr.Row():
51
- namefilter = model_name = gr.Textbox(max_lines=1, label="Search by model name")
52
- typefilter = gr.Dropdown(label="Filter by model type", multiselect=True, choices=list(data["Type"].unique()), value=["Base","Chat"])
53
- archfilter = gr.Dropdown(label="Filter by model architecture", multiselect=True, choices=list(data["Architecture"].unique()), value=list(data["Architecture"].unique()))
54
- lcnsfilter = gr.Dropdown(label="Filter by model license", multiselect=True, choices=list(data["License"].unique()), value=list(data["License"].unique()))
55
 
56
  table = gr.Dataframe()
57
 
 
48
  with gr.Tabs(elem_classes="tab-buttons") as tabs:
49
  with gr.Tab("πŸ… LLM Benchmark"):
50
  with gr.Row():
51
+ namefilter = model_name = gr.Textbox(max_lines=1, label="Search by model name and hit Enter")
52
+ typefilter = gr.CheckboxGroup(label="Filter by model type", choices=list(data["Type"].unique()), value=["Base","Chat"])
53
+ archfilter = gr.CheckboxGroup(label="Filter by model architecture", choices=list(data["Architecture"].unique()), value=list(data["Architecture"].unique()))
54
+ lcnsfilter = gr.CheckboxGroup(label="Filter by model license", choices=list(data["License"].unique()), value=list(data["License"].unique()))
55
 
56
  table = gr.Dataframe()
57