hysts HF staff commited on
Commit
5054117
·
1 Parent(s): 782d9d4
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -363,7 +363,7 @@ with gr.Blocks() as demo_leaderboard:
363
  outputs=leaderboard_table,
364
  )
365
  # Check query parameter once at startup and update search bar + hidden component
366
- demo_leaderboard.load(load_query, inputs=[], outputs=[search_bar, hidden_search_bar])
367
 
368
  for selector in [shown_columns, filter_columns_type, filter_columns_precision, filter_columns_size, filter_columns_add_special_tokens, filter_columns_num_few_shots, deleted_models_visibility, merged_models_visibility, flagged_models_visibility]:
369
  selector.change(
 
363
  outputs=leaderboard_table,
364
  )
365
  # Check query parameter once at startup and update search bar + hidden component
366
+ demo_leaderboard.load(fn=load_query, inputs=[], outputs=[search_bar, hidden_search_bar])
367
 
368
  for selector in [shown_columns, filter_columns_type, filter_columns_precision, filter_columns_size, filter_columns_add_special_tokens, filter_columns_num_few_shots, deleted_models_visibility, merged_models_visibility, flagged_models_visibility]:
369
  selector.change(