hysts HF staff commited on
Commit
22103ee
1 Parent(s): ba2c044
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -321,6 +321,8 @@ SELECT_NONE_BUTTON_LABEL_JA = "全解除"
321
  SELECT_AVG_ONLY_BUTTON_LABEL = "AVG Only"
322
  SELECT_AVG_ONLY_BUTTON_LABEL_JA = "AVGのみ"
323
 
 
 
324
 
325
  with gr.Blocks() as demo_leaderboard:
326
  with gr.Row():
@@ -330,8 +332,6 @@ with gr.Blocks() as demo_leaderboard:
330
  elem_id="search-bar",
331
  )
332
  with gr.Row():
333
- shown_columns_dict = {}
334
- checkboxes = []
335
  with gr.Row():
336
  select_all_button = gr.Button(SELECT_ALL_BUTTON_LABEL_JA, size="sm")
337
  select_none_button = gr.Button(SELECT_NONE_BUTTON_LABEL_JA, size="sm")
 
321
  SELECT_AVG_ONLY_BUTTON_LABEL = "AVG Only"
322
  SELECT_AVG_ONLY_BUTTON_LABEL_JA = "AVGのみ"
323
 
324
+ shown_columns_dict: dict[str, gr.CheckboxGroup] = {}
325
+ checkboxes: list[gr.CheckboxGroup] = []
326
 
327
  with gr.Blocks() as demo_leaderboard:
328
  with gr.Row():
 
332
  elem_id="search-bar",
333
  )
334
  with gr.Row():
 
 
335
  with gr.Row():
336
  select_all_button = gr.Button(SELECT_ALL_BUTTON_LABEL_JA, size="sm")
337
  select_none_button = gr.Button(SELECT_NONE_BUTTON_LABEL_JA, size="sm")