rwitz commited on
Commit
2f3d9b4
·
1 Parent(s): fe675b2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -23,7 +23,7 @@ def read_elo_ratings():
23
  except FileNotFoundError:
24
  elo_ratings = {model: 1200 for model in chatbots.keys()}
25
  return elo_ratings
26
-
27
  # Write ELO ratings to file (thread-safe)
28
  def write_elo_ratings(elo_ratings):
29
  with open('elo_ratings.json', 'w') as file:
 
23
  except FileNotFoundError:
24
  elo_ratings = {model: 1200 for model in chatbots.keys()}
25
  return elo_ratings
26
+ state['elo_ratings']=read_elo_ratings()
27
  # Write ELO ratings to file (thread-safe)
28
  def write_elo_ratings(elo_ratings):
29
  with open('elo_ratings.json', 'w') as file: