Spaces:
Sleeping
Sleeping
meg-huggingface
commited on
Commit
•
b14e11d
1
Parent(s):
130a6d2
UI
Browse files
app.py
CHANGED
@@ -157,21 +157,22 @@ with demo:
|
|
157 |
)
|
158 |
with gr.Row():
|
159 |
with gr.Column():
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
|
|
175 |
with gr.Column():
|
176 |
for c in fields(AutoEvalColumn):
|
177 |
if c.displayed_by_default and not c.hidden and not c.never_hidden and not c.advanced and not c.dummy:
|
|
|
157 |
)
|
158 |
with gr.Row():
|
159 |
with gr.Column():
|
160 |
+
with gr.Row():
|
161 |
+
shown_columns = gr.CheckboxGroup(
|
162 |
+
choices=[
|
163 |
+
c.name
|
164 |
+
for c in fields(AutoEvalColumn)
|
165 |
+
if c.displayed_by_default and not c.hidden and not c.never_hidden and not c.advanced and not c.dummy
|
166 |
+
],
|
167 |
+
value=[
|
168 |
+
c.name
|
169 |
+
for c in fields(AutoEvalColumn)
|
170 |
+
if c.displayed_by_default and not c.hidden and not c.never_hidden and not c.advanced
|
171 |
+
],
|
172 |
+
label="Select metrics to show",
|
173 |
+
elem_id="column-select",
|
174 |
+
interactive=True,
|
175 |
+
)
|
176 |
with gr.Column():
|
177 |
for c in fields(AutoEvalColumn):
|
178 |
if c.displayed_by_default and not c.hidden and not c.never_hidden and not c.advanced and not c.dummy:
|