Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Alina Lozovskaia
commited on
Commit
•
bb51465
1
Parent(s):
0fed1ec
apply code style and quality checks to populate.py
Browse files- src/populate.py +1 -3
src/populate.py
CHANGED
@@ -1,5 +1,3 @@
|
|
1 |
-
import json
|
2 |
-
import os
|
3 |
import pathlib
|
4 |
import pandas as pd
|
5 |
from src.display.formatting import has_no_nan_values, make_clickable_model
|
@@ -21,7 +19,7 @@ def get_evaluation_queue_df(save_path, cols):
|
|
21 |
save_path = pathlib.Path(save_path)
|
22 |
all_evals = []
|
23 |
|
24 |
-
for path in save_path.rglob(
|
25 |
data = load_json_data(path)
|
26 |
if data:
|
27 |
all_evals.append(_process_model_data(data))
|
|
|
|
|
|
|
1 |
import pathlib
|
2 |
import pandas as pd
|
3 |
from src.display.formatting import has_no_nan_values, make_clickable_model
|
|
|
19 |
save_path = pathlib.Path(save_path)
|
20 |
all_evals = []
|
21 |
|
22 |
+
for path in save_path.rglob("*.json"):
|
23 |
data = load_json_data(path)
|
24 |
if data:
|
25 |
all_evals.append(_process_model_data(data))
|