Spaces:
Runtime error
Runtime error
meg-huggingface
commited on
Commit
·
65dc8d1
1
Parent(s):
a1ce55b
Trying to change spacing of metric options
Browse files
app.py
CHANGED
@@ -158,21 +158,22 @@ with ui:
|
|
158 |
with gr.Row():
|
159 |
with gr.Column(scale=1):
|
160 |
with gr.Row():
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
|
|
176 |
with gr.Column(scale=3):
|
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:
|
|
|
158 |
with gr.Row():
|
159 |
with gr.Column(scale=1):
|
160 |
with gr.Row():
|
161 |
+
with gr.Column():
|
162 |
+
shown_columns = gr.CheckboxGroup(
|
163 |
+
choices=[
|
164 |
+
c.name
|
165 |
+
for c in fields(AutoEvalColumn)
|
166 |
+
if c.displayed_by_default and not c.hidden and not c.never_hidden and not c.advanced and not c.dummy
|
167 |
+
],
|
168 |
+
value=[
|
169 |
+
c.name
|
170 |
+
for c in fields(AutoEvalColumn)
|
171 |
+
if c.displayed_by_default and not c.hidden and not c.never_hidden and not c.advanced
|
172 |
+
],
|
173 |
+
label="Select metrics to show",
|
174 |
+
elem_id="column-select",
|
175 |
+
interactive=True,
|
176 |
+
)
|
177 |
with gr.Column(scale=3):
|
178 |
for c in fields(AutoEvalColumn):
|
179 |
if c.displayed_by_default and not c.hidden and not c.never_hidden and not c.advanced and not c.dummy:
|