meg-huggingface commited on
Commit
65dc8d1
·
1 Parent(s): a1ce55b

Trying to change spacing of metric options

Browse files
Files changed (1) hide show
  1. app.py +16 -15
app.py CHANGED
@@ -158,21 +158,22 @@ with ui:
158
  with gr.Row():
159
  with gr.Column(scale=1):
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(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: