Spaces:
Runtime error
Runtime error
Commit
·
1b6069a
1
Parent(s):
cfdb11d
Fix bug
Browse files
src/leaderboard/read_evals.py
CHANGED
@@ -105,11 +105,10 @@ class EvalResult:
|
|
105 |
self.likes = request.get("likes", 0)
|
106 |
self.num_params = request.get("params", 0)
|
107 |
self.date = request.get("submitted_time", "")
|
108 |
-
except
|
109 |
print(
|
110 |
f"Could not find request file for {self.org}/{self.model} with precision {self.precision}"
|
111 |
)
|
112 |
-
print(f"Exception: {e}")
|
113 |
|
114 |
def to_dict(self):
|
115 |
"""Converts the Eval Result to a dict compatible with our dataframe display"""
|
|
|
105 |
self.likes = request.get("likes", 0)
|
106 |
self.num_params = request.get("params", 0)
|
107 |
self.date = request.get("submitted_time", "")
|
108 |
+
except Exception:
|
109 |
print(
|
110 |
f"Could not find request file for {self.org}/{self.model} with precision {self.precision}"
|
111 |
)
|
|
|
112 |
|
113 |
def to_dict(self):
|
114 |
"""Converts the Eval Result to a dict compatible with our dataframe display"""
|