j-tobias commited on
Commit
2ff44a9
β€’
1 Parent(s): 946726e

improved UI

Browse files
Files changed (1) hide show
  1. app.py +7 -5
app.py CHANGED
@@ -88,11 +88,13 @@ with gr.Blocks() as demo:
88
  visible=True,
89
  height=500,
90
  )
91
- column_radio = gr.Radio(
92
- ["All Columns", "Main Metrics", "Narrated", "Oratory", "Spontaneous"],
93
- label="Select columns to display",
94
- value="All Columns"
95
- )
 
 
96
  column_radio.change(update_table, inputs=[column_radio], outputs=[leaderboard_table])
97
 
98
  with gr.TabItem("πŸ“ˆ Metrics", elem_id="od-benchmark-tab-table", id=1):
 
88
  visible=True,
89
  height=500,
90
  )
91
+ with gr.Accordion("πŸ“Œ Select a more detailed subset",open=False):
92
+ column_radio = gr.Radio(
93
+ ["All Columns", "Main Metrics", "Narrated", "Oratory", "Spontaneous"],
94
+ label="Categories",
95
+ value="All Columns"
96
+ )
97
+
98
  column_radio.change(update_table, inputs=[column_radio], outputs=[leaderboard_table])
99
 
100
  with gr.TabItem("πŸ“ˆ Metrics", elem_id="od-benchmark-tab-table", id=1):