dsorokin commited on
Commit
16aecb3
β€’
1 Parent(s): 5ccbe05
Files changed (2) hide show
  1. app.py +5 -5
  2. requirements.txt +4 -1
app.py CHANGED
@@ -438,12 +438,12 @@ if __name__ == "__main__":
438
  args = parser.parse_args()
439
 
440
  elo_result_files = glob.glob("elo_results_*.pkl")
441
- elo_result_files.sort(key=lambda x: int(x[12:-4]))
442
- elo_result_file = elo_result_files[-1]
443
 
444
  leaderboard_table_files = glob.glob("leaderboard_table_*.csv")
445
- leaderboard_table_files.sort(key=lambda x: int(x[18:-4]))
446
- leaderboard_table_file = leaderboard_table_files[-1]
447
 
448
- demo = build_demo(elo_result_file, leaderboard_table_file)
449
  demo.launch(share=args.share)
 
438
  args = parser.parse_args()
439
 
440
  elo_result_files = glob.glob("elo_results_*.pkl")
441
+ # elo_result_files.sort(key=lambda x: int(x[12:-4]))
442
+ # elo_result_file = elo_result_files[-1]
443
 
444
  leaderboard_table_files = glob.glob("leaderboard_table_*.csv")
445
+ # leaderboard_table_files.sort(key=lambda x: int(x[18:-4]))
446
+ # leaderboard_table_file = leaderboard_table_files[-1]
447
 
448
+ demo = build_demo(None, None)
449
  demo.launch(share=args.share)
requirements.txt CHANGED
@@ -1 +1,4 @@
1
- plotly
 
 
 
 
1
+ plotly
2
+ gradio
3
+ numpy
4
+ pandas