Spaces:
Restarting
on
CPU Upgrade
Restarting
on
CPU Upgrade
Update src/populate.py
Browse files- src/populate.py +4 -0
src/populate.py
CHANGED
@@ -31,6 +31,8 @@ def get_evaluation_queue_df(save_path: str, cols: list) -> list[pd.DataFrame]:
|
|
31 |
if ".json" in entry:
|
32 |
file_path = os.path.join(save_path, entry)
|
33 |
with open(file_path) as fp:
|
|
|
|
|
34 |
data = json.load(fp)
|
35 |
|
36 |
data[EvalQueueColumn.model.name] = make_clickable_model(data["model"])
|
@@ -43,6 +45,8 @@ def get_evaluation_queue_df(save_path: str, cols: list) -> list[pd.DataFrame]:
|
|
43 |
for sub_entry in sub_entries:
|
44 |
file_path = os.path.join(save_path, entry, sub_entry)
|
45 |
with open(file_path) as fp:
|
|
|
|
|
46 |
data = json.load(fp)
|
47 |
|
48 |
data[EvalQueueColumn.model.name] = make_clickable_model(data["model"])
|
|
|
31 |
if ".json" in entry:
|
32 |
file_path = os.path.join(save_path, entry)
|
33 |
with open(file_path) as fp:
|
34 |
+
print(file_path)
|
35 |
+
print("\n")
|
36 |
data = json.load(fp)
|
37 |
|
38 |
data[EvalQueueColumn.model.name] = make_clickable_model(data["model"])
|
|
|
45 |
for sub_entry in sub_entries:
|
46 |
file_path = os.path.join(save_path, entry, sub_entry)
|
47 |
with open(file_path) as fp:
|
48 |
+
print(file_path)
|
49 |
+
print("\n")
|
50 |
data = json.load(fp)
|
51 |
|
52 |
data[EvalQueueColumn.model.name] = make_clickable_model(data["model"])
|