saattrupdan commited on
Commit
27bc6fa
·
1 Parent(s): 437ac86

feat: Sort dropdown list of model IDs

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -447,11 +447,11 @@ def update_model_ids_dropdown(
447
  for model_id in df.index
448
  }
449
 
450
- filtered_models: list[str] = [
451
  model_id
452
  for model_id in unique_models
453
  if all(model_id in df.index for df in filtered_results_dfs.values())
454
- ]
455
 
456
  if len(filtered_models) == 0:
457
  logger.info(
 
447
  for model_id in df.index
448
  }
449
 
450
+ filtered_models: list[str] = sorted([
451
  model_id
452
  for model_id in unique_models
453
  if all(model_id in df.index for df in filtered_results_dfs.values())
454
+ ])
455
 
456
  if len(filtered_models) == 0:
457
  logger.info(