Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Fixed coutners
Browse files- src/populate.py +2 -1
src/populate.py
CHANGED
@@ -28,7 +28,6 @@ def get_evaluation_queue_df(save_path: str, cols: list) -> list[pd.DataFrame]:
|
|
28 |
for entry in entries:
|
29 |
file_path = os.path.join(save_path, entry)
|
30 |
if ".json" in entry:
|
31 |
-
if 'counters/' in file_path: continue
|
32 |
with open(file_path) as fp:
|
33 |
data = json.load(fp)
|
34 |
|
@@ -41,6 +40,8 @@ def get_evaluation_queue_df(save_path: str, cols: list) -> list[pd.DataFrame]:
|
|
41 |
sub_entries = [e for e in os.listdir(file_path) if not e.startswith(".")]
|
42 |
for sub_entry in sub_entries:
|
43 |
file_path = os.path.join(file_path, sub_entry)
|
|
|
|
|
44 |
with open(file_path) as fp:
|
45 |
data = json.load(fp)
|
46 |
|
|
|
28 |
for entry in entries:
|
29 |
file_path = os.path.join(save_path, entry)
|
30 |
if ".json" in entry:
|
|
|
31 |
with open(file_path) as fp:
|
32 |
data = json.load(fp)
|
33 |
|
|
|
40 |
sub_entries = [e for e in os.listdir(file_path) if not e.startswith(".")]
|
41 |
for sub_entry in sub_entries:
|
42 |
file_path = os.path.join(file_path, sub_entry)
|
43 |
+
if '/counters/' in file_path: continue
|
44 |
+
|
45 |
with open(file_path) as fp:
|
46 |
data = json.load(fp)
|
47 |
|