devingulliver
commited on
Commit
•
990bc65
1
Parent(s):
44769b8
Try reorganizing filters
Browse files
app.py
CHANGED
@@ -69,14 +69,12 @@ with gr.Blocks(css=".gradio-container{max-width:95%!important} .tab-buttons butt
|
|
69 |
with gr.Row():
|
70 |
with gr.Column():
|
71 |
namefilter = gr.Textbox(max_lines=1, placeholder="Search by model name and hit Enter...", show_label=False)
|
72 |
-
|
73 |
|
74 |
with gr.Column():
|
|
|
75 |
archfilter = gr.CheckboxGroup(label="Filter by model architecture", choices=list(archlinks.keys()), value=list(archlinks.keys()))
|
76 |
sizefilter = gr.CheckboxGroup(label="Filter by model size", choices=list(data["Model Size"].unique()), value=list(data["Model Size"].unique()))
|
77 |
-
|
78 |
-
with gr.Column():
|
79 |
-
colfilter = gr.CheckboxGroup(label="Hide columns", choices=list(data.columns)[2:], value=["Architecture","Model Size","Base Model"])
|
80 |
|
81 |
table = gr.Dataframe(filter_table(["Architecture","Model Size","Base Model"],"",[n for n in data["Type"].unique() if n not in ["⏳ Pending"]],list(archlinks.keys()),list(data["Model Size"].unique())), datatype="markdown")
|
82 |
|
|
|
69 |
with gr.Row():
|
70 |
with gr.Column():
|
71 |
namefilter = gr.Textbox(max_lines=1, placeholder="Search by model name and hit Enter...", show_label=False)
|
72 |
+
colfilter = gr.CheckboxGroup(label="Hide columns", choices=list(data.columns)[2:], value=["Architecture","Model Size","Base Model"])
|
73 |
|
74 |
with gr.Column():
|
75 |
+
typefilter = gr.CheckboxGroup(label="Filter by model type", choices=list(data["Type"].unique()), value=[n for n in data["Type"].unique() if n not in ["⏳ Pending"]])
|
76 |
archfilter = gr.CheckboxGroup(label="Filter by model architecture", choices=list(archlinks.keys()), value=list(archlinks.keys()))
|
77 |
sizefilter = gr.CheckboxGroup(label="Filter by model size", choices=list(data["Model Size"].unique()), value=list(data["Model Size"].unique()))
|
|
|
|
|
|
|
78 |
|
79 |
table = gr.Dataframe(filter_table(["Architecture","Model Size","Base Model"],"",[n for n in data["Type"].unique() if n not in ["⏳ Pending"]],list(archlinks.keys()),list(data["Model Size"].unique())), datatype="markdown")
|
80 |
|