devingulliver
commited on
Commit
β’
6d1f22b
1
Parent(s):
6ed780a
Update app.py
Browse files
app.py
CHANGED
@@ -54,7 +54,7 @@ with gr.Blocks(css=".tab-buttons button{font-size:1.3em}") as demo:
|
|
54 |
with gr.Row():
|
55 |
with gr.Column():
|
56 |
namefilter = gr.Textbox(max_lines=1, placeholder="Search by model name and hit Enter...", show_label=False)
|
57 |
-
typefilter = gr.CheckboxGroup(show_label=False, choices=list(data["Type"].unique()), value=[n for n in data["Type"].unique() if n not in ["Pending"]])
|
58 |
|
59 |
with gr.Column():
|
60 |
archfilter = gr.CheckboxGroup(label="Filter by model architecture", choices=list(data["Architecture"].unique()), value=list(data["Architecture"].unique()))
|
@@ -63,7 +63,7 @@ with gr.Blocks(css=".tab-buttons button{font-size:1.3em}") as demo:
|
|
63 |
with gr.Column():
|
64 |
colfilter = gr.CheckboxGroup(label="Hide columns", choices=list(data.columns)[2:])
|
65 |
|
66 |
-
table = gr.Dataframe(filter_table([],"",[n for n in data["Type"].unique() if n not in ["Pending"]],list(data["Architecture"].unique()),list(data["License"].unique())),
|
67 |
datatype=["str","markdown","number","number","number","number","number","number","number","str","str","str"])
|
68 |
|
69 |
# actions
|
|
|
54 |
with gr.Row():
|
55 |
with gr.Column():
|
56 |
namefilter = gr.Textbox(max_lines=1, placeholder="Search by model name and hit Enter...", show_label=False)
|
57 |
+
typefilter = gr.CheckboxGroup(show_label=False, choices=list(data["Type"].unique()), value=[n for n in data["Type"].unique() if n not in ["β Pending"]])
|
58 |
|
59 |
with gr.Column():
|
60 |
archfilter = gr.CheckboxGroup(label="Filter by model architecture", choices=list(data["Architecture"].unique()), value=list(data["Architecture"].unique()))
|
|
|
63 |
with gr.Column():
|
64 |
colfilter = gr.CheckboxGroup(label="Hide columns", choices=list(data.columns)[2:])
|
65 |
|
66 |
+
table = gr.Dataframe(filter_table([],"",[n for n in data["Type"].unique() if n not in ["β Pending"]],list(data["Architecture"].unique()),list(data["License"].unique())),
|
67 |
datatype=["str","markdown","number","number","number","number","number","number","number","str","str","str"])
|
68 |
|
69 |
# actions
|