DontPlanToEnd commited on
Commit
03f0672
1 Parent(s): fd2eab2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -3
app.py CHANGED
@@ -352,11 +352,14 @@ with GraInter:
352
  return ugi_table, ws_table, arp_table, arp_na_table
353
 
354
  # Update the event handlers
355
- for component in [search_bar, filter_columns_size, model_type, w10_range, additional_columns]:
 
 
 
356
  component.change(
357
  fn=update_all_tables,
358
- inputs=[search_bar, filter_columns_size, model_type, w10_range, additional_columns],
359
- outputs=[leaderboard_table_ugi, leaderboard_table_ws, leaderboard_table_arp, leaderboard_table_arp_na]
360
  )
361
 
362
  search_bar.change(
 
352
  return ugi_table, ws_table, arp_table, arp_na_table
353
 
354
  # Update the event handlers
355
+ inputs = [search_bar, filter_columns_size, model_type, w10_range, additional_columns]
356
+ outputs = [leaderboard_table_ugi, leaderboard_table_ws, leaderboard_table_arp, leaderboard_table_arp_na]
357
+
358
+ for component in inputs:
359
  component.change(
360
  fn=update_all_tables,
361
+ inputs=inputs,
362
+ outputs=outputs
363
  )
364
 
365
  search_bar.change(