rwitz commited on
Commit
d7c8069
·
1 Parent(s): b5787b8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -40,7 +40,6 @@ def update_elo_rating(new_rating):
40
  updated_dataset = elo_ratings.map(update_rating)
41
 
42
  # Convert updated dataset to a dictionary for pushing
43
- updated_dataset=DatasetDict({'train':updated_dataset})
44
  updated_dataset.push_to_hub("rwitz/mistral-elo-ratings",token=os.environ.get("huggingface_token"))
45
  if response.status_code == 200:
46
  print("Successfully updated the dataset")
 
40
  updated_dataset = elo_ratings.map(update_rating)
41
 
42
  # Convert updated dataset to a dictionary for pushing
 
43
  updated_dataset.push_to_hub("rwitz/mistral-elo-ratings",token=os.environ.get("huggingface_token"))
44
  if response.status_code == 200:
45
  print("Successfully updated the dataset")