Spaces:
Running
Running
ycy
commited on
Commit
·
ed782b1
1
Parent(s):
b2f2816
test
Browse files- app.py +1 -2
- src/populate.py +2 -0
app.py
CHANGED
|
@@ -51,8 +51,7 @@ except Exception:
|
|
| 51 |
|
| 52 |
|
| 53 |
LEADERBOARD_DF = get_leaderboard_df(EVAL_RESULTS_PATH, EVAL_REQUESTS_PATH, COLS, BENCHMARK_COLS)
|
| 54 |
-
|
| 55 |
-
assert 0
|
| 56 |
(
|
| 57 |
finished_eval_queue_df,
|
| 58 |
running_eval_queue_df,
|
|
|
|
| 51 |
|
| 52 |
|
| 53 |
LEADERBOARD_DF = get_leaderboard_df(EVAL_RESULTS_PATH, EVAL_REQUESTS_PATH, COLS, BENCHMARK_COLS)
|
| 54 |
+
|
|
|
|
| 55 |
(
|
| 56 |
finished_eval_queue_df,
|
| 57 |
running_eval_queue_df,
|
src/populate.py
CHANGED
|
@@ -65,6 +65,8 @@ def get_leaderboard_df(results_path: str, requests_path: str, cols: list, benchm
|
|
| 65 |
def get_evaluation_queue_df(save_path: str, cols: list) -> list[pd.DataFrame]:
|
| 66 |
"""Creates the different dataframes for the evaluation queues requestes"""
|
| 67 |
entries = [entry for entry in os.listdir(save_path) if not entry.startswith(".")]
|
|
|
|
|
|
|
| 68 |
all_evals = []
|
| 69 |
|
| 70 |
for entry in entries:
|
|
|
|
| 65 |
def get_evaluation_queue_df(save_path: str, cols: list) -> list[pd.DataFrame]:
|
| 66 |
"""Creates the different dataframes for the evaluation queues requestes"""
|
| 67 |
entries = [entry for entry in os.listdir(save_path) if not entry.startswith(".")]
|
| 68 |
+
print(entries)
|
| 69 |
+
assert 0
|
| 70 |
all_evals = []
|
| 71 |
|
| 72 |
for entry in entries:
|