davanstrien HF staff commited on
Commit
3003b62
1 Parent(s): 0ca4024

Sort pipeline tags alphabetically

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -48,6 +48,8 @@ df = pd.DataFrame(
48
  ).reset_index()
49
  df_with_org = df.copy(deep=True)
50
  pipeline_tags = [x.pipeline_tag for x in models_with_base_model_info]
 
 
51
  unique_pipeline_tags = list(
52
  {x.pipeline_tag for x in models_with_base_model_info if x.pipeline_tag is not None}
53
  )
 
48
  ).reset_index()
49
  df_with_org = df.copy(deep=True)
50
  pipeline_tags = [x.pipeline_tag for x in models_with_base_model_info]
51
+ # sort pipeline tags alphabetically
52
+ pipeline_tags = sorted(pipeline_tags)
53
  unique_pipeline_tags = list(
54
  {x.pipeline_tag for x in models_with_base_model_info if x.pipeline_tag is not None}
55
  )