devingulliver commited on
Commit
6d1f22b
β€’
1 Parent(s): 6ed780a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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