ftshijt commited on
Commit
79aff34
โ€ข
1 Parent(s): 9efea49

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +28 -28
app.py CHANGED
@@ -138,34 +138,34 @@ with demo:
138
 
139
  with gr.Tabs(elem_classes="tab-buttons") as tabs:
140
  with gr.TabItem("๐Ÿ… Discrete Speech Challenge", elem_id="llm-benchmark-tab-table", id=0):
141
- # with gr.Row():
142
- # with gr.Column():
143
- # with gr.Row():
144
- # search_bar = gr.Textbox(
145
- # placeholder=" ๐Ÿ” Search for your model (separate multiple queries with `;`) and press ENTER...",
146
- # show_label=False,
147
- # elem_id="search-bar",
148
- # )
149
- # with gr.Row():
150
- # shown_columns = gr.CheckboxGroup(
151
- # choices=[
152
- # c.name
153
- # for c in fields(AutoEvalColumn)
154
- # if not c.hidden and not c.never_hidden and not c.dummy
155
- # ],
156
- # value=[
157
- # c.name
158
- # for c in fields(AutoEvalColumn)
159
- # if c.displayed_by_default and not c.hidden and not c.never_hidden
160
- # ],
161
- # label="Select columns to show",
162
- # elem_id="column-select",
163
- # interactive=True,
164
- # )
165
- # with gr.Row():
166
- # deleted_models_visibility = gr.Checkbox(
167
- # value=False, label="Show gated/private/deleted models", interactive=True
168
- # )
169
  # with gr.Column(min_width=320):
170
  # #with gr.Box(elem_id="box-filter"):
171
  # filter_columns_type = gr.CheckboxGroup(
 
138
 
139
  with gr.Tabs(elem_classes="tab-buttons") as tabs:
140
  with gr.TabItem("๐Ÿ… Discrete Speech Challenge", elem_id="llm-benchmark-tab-table", id=0):
141
+ with gr.Row():
142
+ with gr.Column():
143
+ # with gr.Row():
144
+ # search_bar = gr.Textbox(
145
+ # placeholder=" ๐Ÿ” Search for your model (separate multiple queries with `;`) and press ENTER...",
146
+ # show_label=False,
147
+ # elem_id="search-bar",
148
+ # )
149
+ with gr.Row():
150
+ shown_columns = gr.CheckboxGroup(
151
+ choices=[
152
+ c.name
153
+ for c in fields(AutoEvalColumn)
154
+ if not c.hidden and not c.never_hidden and not c.dummy
155
+ ],
156
+ value=[
157
+ c.name
158
+ for c in fields(AutoEvalColumn)
159
+ if c.displayed_by_default and not c.hidden and not c.never_hidden
160
+ ],
161
+ label="Columns to show",
162
+ elem_id="column-select",
163
+ interactive=False,
164
+ )
165
+ with gr.Row():
166
+ deleted_models_visibility = gr.Checkbox(
167
+ value=False, label="Show gated/private/deleted models", interactive=True
168
+ )
169
  # with gr.Column(min_width=320):
170
  # #with gr.Box(elem_id="box-filter"):
171
  # filter_columns_type = gr.CheckboxGroup(