Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -37,7 +37,7 @@ def update_elo_rating(new_rating,winner,loser):
|
|
37 |
# Update the dataset
|
38 |
# Convert updated dataset to a dictionary for pushing
|
39 |
updated_ratings=update_elo_ratings(elo_ratings,winner,loser)
|
40 |
-
|
41 |
|
42 |
# Function to get bot response
|
43 |
def format_alpaca_prompt(state):
|
|
|
37 |
# Update the dataset
|
38 |
# Convert updated dataset to a dictionary for pushing
|
39 |
updated_ratings=update_elo_ratings(elo_ratings,winner,loser)
|
40 |
+
updated_ratings.push_to_hub("rwitz/mistral-elo-ratings",token=os.environ.get("huggingface_token"))
|
41 |
|
42 |
# Function to get bot response
|
43 |
def format_alpaca_prompt(state):
|