rwitz commited on
Commit
302046e
·
verified ·
1 Parent(s): 4717000

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -130,7 +130,7 @@ def update_ratings(state, winner_index):
130
 
131
  elo_ratings = update_elo_ratings(elo_ratings, winner, loser)
132
  update_elo_rating(elo_ratings, winner, loser)
133
- return [('Winner: ', winner.replace('rwitz/','').replace('-lora','')), ('Loser: ', lose.replace('rwitz/','').replace('-lora','')r)]
134
  def vote_up_model(state, chatbot,chatbot2):
135
  update_message = update_ratings(state, 0)
136
  chatbot.append(update_message[0])
 
130
 
131
  elo_ratings = update_elo_ratings(elo_ratings, winner, loser)
132
  update_elo_rating(elo_ratings, winner, loser)
133
+ return [('Winner: ', winner.replace('rwitz/','').replace('-lora','')), ('Loser: ', lose.replace('rwitz/','').replace('-lora',''))]
134
  def vote_up_model(state, chatbot,chatbot2):
135
  update_message = update_ratings(state, 0)
136
  chatbot.append(update_message[0])