Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -30,7 +30,7 @@ def get_user_elo_ratings():
|
|
30 |
global global_elo_ratings
|
31 |
try:
|
32 |
dataset = load_dataset("rwitz/mistral-elo-ratings", download_mode="force_redownload")
|
33 |
-
|
34 |
dataset=Dataset.from_dict({})
|
35 |
global_elo_ratings = dataset['train'] # or the relevant split
|
36 |
return global_elo_ratings
|
|
|
30 |
global global_elo_ratings
|
31 |
try:
|
32 |
dataset = load_dataset("rwitz/mistral-elo-ratings", download_mode="force_redownload")
|
33 |
+
except:
|
34 |
dataset=Dataset.from_dict({})
|
35 |
global_elo_ratings = dataset['train'] # or the relevant split
|
36 |
return global_elo_ratings
|