Joschka Strueber commited on
Commit
1e010df
·
1 Parent(s): d2471f2

[Add] saving unblocked models as file to read from

Browse files
Files changed (1) hide show
  1. src/dataloading.py +5 -0
src/dataloading.py CHANGED
@@ -29,6 +29,11 @@ def get_leaderboard_models():
29
  except Exception as e:
30
  pass
31
 
 
 
 
 
 
32
  return sorted(models)
33
 
34
 
 
29
  except Exception as e:
30
  pass
31
 
32
+ # Save model list as txt file
33
+ with open("models.txt", "w") as f:
34
+ for model in models:
35
+ f.write(model + "\n")
36
+
37
  return sorted(models)
38
 
39