Spaces:
Runtime error
Runtime error
Aaron Mueller
commited on
Commit
•
61202b8
1
Parent(s):
86a4a73
fix
Browse files- src/populate.py +1 -1
src/populate.py
CHANGED
@@ -40,7 +40,7 @@ def get_evaluation_queue_df(save_path: str, cols: list) -> list[pd.DataFrame]:
|
|
40 |
with open(file_path) as fp:
|
41 |
data = json.load(fp)
|
42 |
|
43 |
-
if data["still_on_hub"]:
|
44 |
data[EvalQueueColumn.model.name] = make_clickable_model(data["hf_repo"], data["model"])
|
45 |
data[EvalQueueColumn.revision.name] = data.get("revision", "main")
|
46 |
else:
|
|
|
40 |
with open(file_path) as fp:
|
41 |
data = json.load(fp)
|
42 |
|
43 |
+
if "still_on_hub" in data and data["still_on_hub"]:
|
44 |
data[EvalQueueColumn.model.name] = make_clickable_model(data["hf_repo"], data["model"])
|
45 |
data[EvalQueueColumn.revision.name] = data.get("revision", "main")
|
46 |
else:
|